summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2011-09-18 02:39:48 +0800
committerAndrei Karas <akaras@inbox.ru>2011-09-28 21:22:21 +0300
commitd9eab6bbcd939f1238283ac9bbe003e06de4169c (patch)
tree19b08c5e1713e9e019d19312d60914ba557499db /src/gui/inventorywindow.h
parentb22ce8d250b1fa995f76c337e1cba6a4b164fe23 (diff)
downloadplus-d9eab6bbcd939f1238283ac9bbe003e06de4169c.tar.gz
plus-d9eab6bbcd939f1238283ac9bbe003e06de4169c.tar.bz2
plus-d9eab6bbcd939f1238283ac9bbe003e06de4169c.tar.xz
plus-d9eab6bbcd939f1238283ac9bbe003e06de4169c.zip
Fixed item popup still visible after closing inventory window.
Reviewed-by: Bertram. Conflicts: src/gui/widgets/itemcontainer.cpp
Diffstat (limited to 'src/gui/inventorywindow.h')
-rw-r--r--src/gui/inventorywindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 5592b9449..959f65d7c 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -85,6 +85,11 @@ class InventoryWindow : public Window,
Item* getSelectedItem() const;
/**
+ * Handles closing of the window
+ */
+ virtual void widgetHidden(const gcn::Event &event);
+
+ /**
* Handles the mouse clicks.
*/
void mouseClicked(gcn::MouseEvent &event);