From 992f501159b2fc6c5878d86cc477413250b4efa2 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Mon, 13 Jun 2022 19:13:15 +0200 Subject: Fix Android input box crash --- src/gui/modalMenu.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp index b05bed490..172eb11e6 100644 --- a/src/gui/modalMenu.cpp +++ b/src/gui/modalMenu.cpp @@ -252,11 +252,6 @@ bool GUIModalMenu::preprocessEvent(const SEvent &event) return retval; m_jni_field_name = field_name; - std::string label = wide_to_utf8(getLabelByID(hovered->getID())); - if (label.empty()) - label = "text"; - /*~ Imperative, as in "Type in text" */ - std::string message = fmtgettext("Enter %s:"); // single line text input int type = 2; -- cgit v1.2.3