diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-01 20:45:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-01 20:45:56 +0300 |
commit | 65cd527ac21a70617633d4023f9af6503931bbbb (patch) | |
tree | e0e54f6e0f364b3b1d44d3f8b72adcc8e23a8724 | |
parent | db50e5f3c0d7a0ce5d3ae99af9d874cbe2e5caeb (diff) | |
download | manaverse-65cd527ac21a70617633d4023f9af6503931bbbb.tar.gz manaverse-65cd527ac21a70617633d4023f9af6503931bbbb.tar.bz2 manaverse-65cd527ac21a70617633d4023f9af6503931bbbb.tar.xz manaverse-65cd527ac21a70617633d4023f9af6503931bbbb.zip |
Fix storage window opening.
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 |
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() |