Reset an inventory filter after reload or a new game start (bug #4392)

pull/407/head
Andrei Kortunov 7 years ago
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…
Cancel
Save