mirror of
https://github.com/OpenMW/openmw.git
synced 2025-10-22 21:56:41 +00:00
also update companion window and tradewindow
This commit is contained in:
parent
a9870bbcde
commit
bdf025a532
1 changed files with 6 additions and 5 deletions
|
@ -160,12 +160,8 @@ namespace MWGui
|
|||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mCloseButton);
|
||||
|
||||
setTitle(container.getClass().getName(container));
|
||||
mPtr.getClass().getContainerStore(mPtr).setContListener(this);
|
||||
}
|
||||
|
||||
void ContainerWindow::updateItemView()
|
||||
{
|
||||
mItemView->update();
|
||||
mPtr.getClass().getContainerStore(mPtr).setContListener(this);
|
||||
}
|
||||
|
||||
void ContainerWindow::resetReference()
|
||||
|
@ -326,4 +322,9 @@ namespace MWGui
|
|||
if (mModel && mModel->usesContainer(ptr))
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(GM_Container);
|
||||
}
|
||||
|
||||
void ContainerWindow::updateItemView()
|
||||
{
|
||||
mItemView->update();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue