]> git.lizzy.rs Git - minetest.git/blobdiff - src/modalMenu.h
Change screenshot colorformat properly
[minetest.git] / src / modalMenu.h
index 251b7aa3b60a86af18524631f8377621974320dd..2c512d3ca08eb4fc921272a46f65ca5e00f97800 100644 (file)
@@ -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 @@ class GUIModalMenu : public gui::IGUIElement
                Environment->removeFocus(this);
                m_menumgr->deletingMenu(this);
                this->remove();
+#ifdef HAVE_TOUCHSCREENGUI
+               if (g_touchscreengui)
+                       g_touchscreengui->Show();
+#endif
        }
 
        void removeChildren()