summaryrefslogtreecommitdiff
path: root/src/gui/windows
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/windows
parentb8534818a594b6b846e37f7407e68e722a9b155b (diff)
downloadmv-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).
Diffstat (limited to 'src/gui/windows')
-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);