From a0ba14d5ded0c0d88f624289d29a2e200232dd50 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Tue, 30 Jun 2020 19:10:59 +0200 Subject: [PATCH] Menu: Ignore K_ESCAPE in CTextBox's input --- src/menu-fn/w_textbox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menu-fn/w_textbox.cpp b/src/menu-fn/w_textbox.cpp index 906e5219..cabe82ff 100644 --- a/src/menu-fn/w_textbox.cpp +++ b/src/menu-fn/w_textbox.cpp @@ -86,6 +86,8 @@ void CTextBox::Input(float type, float x, float y, float devid) m_onEnter(m_text); } break; + case K_ESCAPE: + break; default: if (m_flags & TEXTBOX_FOCUS) { m_text = sprintf("%s%s", m_text, chr2str(y));