From 357ef6741ee13427173aada834e17838d1e23351 Mon Sep 17 00:00:00 2001 From: Marton Ady <marton.ady@cern.ch> Date: Mon, 28 Oct 2024 09:42:32 +0100 Subject: [PATCH] capture backspace as msg_text_upd --- GLApp/GLTextField.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/GLApp/GLTextField.cpp b/GLApp/GLTextField.cpp index eb7693a3..2717d364 100644 --- a/GLApp/GLTextField.cpp +++ b/GLApp/GLTextField.cpp @@ -559,6 +559,7 @@ void GLTextField::ManageEvent(SDL_Event *evt) { case SDLK_BACKSPACE: if( m_Start!=m_Stop ) { DeleteSel(); + parent->ProcessMessage(this, MSG_TEXT_UPD); } else { if( m_CursorPos>0 ) { m_CursorPos--; -- GitLab