mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 04:14:05 +00:00
Forgot to apply the same fix to companion window
This commit is contained in:
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…
x
Reference in New Issue
Block a user