From 08fbe14b1b261b5652f90212fd268d371302e762 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Feb 2015 01:26:16 +0300 Subject: Not allow hide storage window by hide windows actions (h key). --- src/gui/windows/inventorywindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2