summaryrefslogtreecommitdiff
path: root/src/gui/popupmanager.cpp
diff options
context:
space:
mode:
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