summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-16 01:26:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-16 01:26:16 +0300
commit08fbe14b1b261b5652f90212fd268d371302e762 (patch)
treea61e28a71f6abbbca12a50e078e3c0f5e39cbc8c /src/gui
parentb8534818a594b6b846e37f7407e68e722a9b155b (diff)
downloadplus-08fbe14b1b261b5652f90212fd268d371302e762.tar.gz
plus-08fbe14b1b261b5652f90212fd268d371302e762.tar.bz2
plus-08fbe14b1b261b5652f90212fd268d371302e762.tar.xz
plus-08fbe14b1b261b5652f90212fd268d371302e762.zip
Not allow hide storage window by hide windows actions (h key).
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/inventorywindow.cpp2
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);