summaryrefslogtreecommitdiff
path: root/src/gui/popupmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-10 19:27:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-10 19:27:16 +0300
commit051d2ee3bc0ec387acde86081d999b1c90a7806f (patch)
tree9932582eda03c3f22fa2f565f71c2401eae84dd9 /src/gui/popupmanager.cpp
parent54ff787c3015e79989cd239947b0e033673c38ee (diff)
downloadmv-s20170810.tar.gz
mv-s20170810.tar.bz2
mv-s20170810.tar.xz
mv-s20170810.zip
Hide item popup if open popupmenu.s20170810
Diffstat (limited to 'src/gui/popupmanager.cpp')
-rw-r--r--src/gui/popupmanager.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/popupmanager.cpp b/src/gui/popupmanager.cpp
index c415956ce..3aed639e9 100644
--- a/src/gui/popupmanager.cpp
+++ b/src/gui/popupmanager.cpp
@@ -24,8 +24,11 @@
#include "sdlshared.h"
+#ifndef DYECMD
#include "gui/popups/beingpopup.h"
+#include "gui/popups/itempopup.h"
#include "gui/popups/popupmenu.h"
+#endif // DYECMD
#include "gui/popups/textpopup.h"
#include "debug.h"
@@ -70,6 +73,14 @@ void PopupManager::hidePopupMenu()
#endif // DYECMD
}
+void PopupManager::hideItemPopup()
+{
+#ifndef DYECMD
+ if (itemPopup)
+ itemPopup->hide();
+#endif // DYECMD
+}
+
bool PopupManager::isPopupMenuVisible()
{
#ifndef DYECMD