1
0
Fork 0
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:
Kindi 2025-04-03 11:26:56 +08:00
parent a9870bbcde
commit bdf025a532

View file

@ -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();
}
}