summaryrefslogtreecommitdiff
path: root/src/gui/buydialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-11 01:56:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-11 01:56:35 +0300
commit62a7ad8a4f8cc297c8a0eb6468fb27086de368d0 (patch)
tree3dca3828920a2c8460fd5e760c733bc6c39d027e /src/gui/buydialog.cpp
parent378cef9bda1c4c7e74ab24680fff19ce6e9326a4 (diff)
downloadplus-62a7ad8a4f8cc297c8a0eb6468fb27086de368d0.tar.gz
plus-62a7ad8a4f8cc297c8a0eb6468fb27086de368d0.tar.bz2
plus-62a7ad8a4f8cc297c8a0eb6468fb27086de368d0.tar.xz
plus-62a7ad8a4f8cc297c8a0eb6468fb27086de368d0.zip
Allow open inventory and some other actions while buy window is open.
Diffstat (limited to 'src/gui/buydialog.cpp')
-rw-r--r--src/gui/buydialog.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/buydialog.cpp b/src/gui/buydialog.cpp
index e30da6702..30eed9ae2 100644
--- a/src/gui/buydialog.cpp
+++ b/src/gui/buydialog.cpp
@@ -22,7 +22,6 @@
#include "gui/buydialog.h"
-#include "keyboardconfig.h"
#include "logger.h"
#include "shopitem.h"
#include "units.h"
@@ -79,9 +78,6 @@ void BuyDialog::init()
setMinHeight(230);
setDefaultSize(260, 230, ImageRect::CENTER);
- mEnabledKeyboard = keyboard.isEnabled();
- keyboard.setEnabled(false);
-
mShopItems = new ShopItems;
mShopItemList = new ShopListBox(mShopItems, mShopItems);
@@ -355,9 +351,3 @@ void BuyDialog::closeAll()
(*it)->close();
}
}
-
-void BuyDialog::scheduleDelete()
-{
- keyboard.setEnabled(mEnabledKeyboard);
- Window::scheduleDelete();
-}