mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-06 09:55:35 +00:00
Reset an inventory filter after reload or a new game start (bug #4392)
This commit is contained in:
parent
a70e14e282
commit
174b3d2249
@ -129,6 +129,12 @@ namespace MWGui
|
||||
|
||||
mItemView->setModel(mSortModel);
|
||||
|
||||
mFilterAll->setStateSelected(true);
|
||||
mFilterWeapon->setStateSelected(false);
|
||||
mFilterApparel->setStateSelected(false);
|
||||
mFilterMagic->setStateSelected(false);
|
||||
mFilterMisc->setStateSelected(false);
|
||||
|
||||
mPreview->updatePtr(mPtr);
|
||||
mPreview->rebuild();
|
||||
mPreview->update();
|
||||
|
Loading…
Reference in New Issue
Block a user