mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Reset an inventory filter after reload or a new game start (bug #4392)
This commit is contained in:
parent
a70e14e282
commit
174b3d2249
1 changed files with 6 additions and 0 deletions
|
@ -129,6 +129,12 @@ namespace MWGui
|
||||||
|
|
||||||
mItemView->setModel(mSortModel);
|
mItemView->setModel(mSortModel);
|
||||||
|
|
||||||
|
mFilterAll->setStateSelected(true);
|
||||||
|
mFilterWeapon->setStateSelected(false);
|
||||||
|
mFilterApparel->setStateSelected(false);
|
||||||
|
mFilterMagic->setStateSelected(false);
|
||||||
|
mFilterMisc->setStateSelected(false);
|
||||||
|
|
||||||
mPreview->updatePtr(mPtr);
|
mPreview->updatePtr(mPtr);
|
||||||
mPreview->rebuild();
|
mPreview->rebuild();
|
||||||
mPreview->update();
|
mPreview->update();
|
||||||
|
|
Loading…
Reference in a new issue