summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-24 21:57:06 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-24 21:57:06 +0300
commite94119a81652c829c31f52cbc1ae0bce586f1483 (patch)
treeda9b3c97a44ced6e9e41c824731c51ebcc92bc3c
parent750fb61bd3cda4ffe775ab5e45ff6ff2ed5cb4ba (diff)
downloadplus-e94119a81652c829c31f52cbc1ae0bce586f1483.tar.gz
plus-e94119a81652c829c31f52cbc1ae0bce586f1483.tar.bz2
plus-e94119a81652c829c31f52cbc1ae0bce586f1483.tar.xz
plus-e94119a81652c829c31f52cbc1ae0bce586f1483.zip
Not open inventory window by default.
-rw-r--r--src/gui/windows/inventorywindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 36bcc64ac..7ea15ebc9 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -310,8 +310,6 @@ void InventoryWindow::postInit()
mItems->setSortType(mSortDropDown->getSelected());
widgetResized(Event(nullptr));
- if (mInventory->getType() == InventoryType::INVENTORY)
- setVisible(true);
}
InventoryWindow::~InventoryWindow()