forked from teamnwah/openmw-tes3coop
Forgot to apply the same fix to companion window
This commit is contained in:
parent
eb46de54e4
commit
b8f5cd6cb7
1 changed files with 2 additions and 1 deletions
|
@ -86,12 +86,13 @@ void CompanionWindow::onBackgroundSelected()
|
||||||
void CompanionWindow::open(const MWWorld::Ptr& npc)
|
void CompanionWindow::open(const MWWorld::Ptr& npc)
|
||||||
{
|
{
|
||||||
mPtr = npc;
|
mPtr = npc;
|
||||||
setTitle(MWWorld::Class::get(npc).getName(npc));
|
|
||||||
updateEncumbranceBar();
|
updateEncumbranceBar();
|
||||||
|
|
||||||
mModel = new CompanionItemModel(npc);
|
mModel = new CompanionItemModel(npc);
|
||||||
mSortModel = new SortFilterItemModel(mModel);
|
mSortModel = new SortFilterItemModel(mModel);
|
||||||
mItemView->setModel(mSortModel);
|
mItemView->setModel(mSortModel);
|
||||||
|
|
||||||
|
setTitle(MWWorld::Class::get(npc).getName(npc));
|
||||||
}
|
}
|
||||||
|
|
||||||
void CompanionWindow::onFrame()
|
void CompanionWindow::onFrame()
|
||||||
|
|
Loading…
Reference in a new issue