diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 01:26:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 01:26:16 +0300 |
commit | 08fbe14b1b261b5652f90212fd268d371302e762 (patch) | |
tree | a61e28a71f6abbbca12a50e078e3c0f5e39cbc8c | |
parent | b8534818a594b6b846e37f7407e68e722a9b155b (diff) | |
download | mv-08fbe14b1b261b5652f90212fd268d371302e762.tar.gz mv-08fbe14b1b261b5652f90212fd268d371302e762.tar.bz2 mv-08fbe14b1b261b5652f90212fd268d371302e762.tar.xz mv-08fbe14b1b261b5652f90212fd268d371302e762.zip |
Not allow hide storage window by hide windows actions (h key).
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 5b236df21..a47d2a931 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -144,7 +144,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) : mSortDropDown->setSelected(0); } - if (setupWindow) + if (setupWindow && inventory->getType() != InventoryType::STORAGE) setupWindow->registerWindowForReset(this); setResizable(true); |