1
0
Fork 1
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:
Andrei Kortunov 2018-04-13 09:17:05 +04:00
parent a70e14e282
commit 174b3d2249

View file

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