Forgot to apply the same fix to companion window

actorid
scrawl 11 years ago
parent eb46de54e4
commit b8f5cd6cb7

@ -86,12 +86,13 @@ void CompanionWindow::onBackgroundSelected()
void CompanionWindow::open(const MWWorld::Ptr& npc)
{
mPtr = npc;
setTitle(MWWorld::Class::get(npc).getName(npc));
updateEncumbranceBar();
mModel = new CompanionItemModel(npc);
mSortModel = new SortFilterItemModel(mModel);
mItemView->setModel(mSortModel);
setTitle(MWWorld::Class::get(npc).getName(npc));
}
void CompanionWindow::onFrame()

Loading…
Cancel
Save