summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-01 20:45:56 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-01 20:45:56 +0300
commit65cd527ac21a70617633d4023f9af6503931bbbb (patch)
treee0e54f6e0f364b3b1d44d3f8b72adcc8e23a8724 /src/gui
parentdb50e5f3c0d7a0ce5d3ae99af9d874cbe2e5caeb (diff)
downloadplus-65cd527ac21a70617633d4023f9af6503931bbbb.tar.gz
plus-65cd527ac21a70617633d4023f9af6503931bbbb.tar.bz2
plus-65cd527ac21a70617633d4023f9af6503931bbbb.tar.xz
plus-65cd527ac21a70617633d4023f9af6503931bbbb.zip
Fix storage window opening.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/inventorywindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index bd6bdfc7f..59c82a20a 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -331,6 +331,8 @@ void InventoryWindow::postInit()
mItems->setSortType(mSortDropDown->getSelected());
widgetResized(Event(nullptr));
+ if (mInventory && mInventory->getType() == InventoryType::STORAGE)
+ setVisible(true);
}
InventoryWindow::~InventoryWindow()