mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04: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)
|
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…
x
Reference in New Issue
Block a user