aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/modalMenu.cpp5
1 files changed, 0 insertions, 5 deletions
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;