aboutsummaryrefslogtreecommitdiff
path: root/src/modalMenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modalMenu.h')
-rw-r--r--src/modalMenu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modalMenu.h b/src/modalMenu.h
index 251b7aa3b..2c512d3ca 100644
--- a/src/modalMenu.h
+++ b/src/modalMenu.h
@@ -21,6 +21,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MODALMENU_HEADER
#include "irrlichttypes_extrabloated.h"
+#ifdef HAVE_TOUCHSCREENGUI
+#include "touchscreengui.h"
+#endif
class GUIModalMenu;
@@ -101,6 +104,10 @@ public:
Environment->removeFocus(this);
m_menumgr->deletingMenu(this);
this->remove();
+#ifdef HAVE_TOUCHSCREENGUI
+ if (g_touchscreengui)
+ g_touchscreengui->Show();
+#endif
}
void removeChildren()