Skip to content
Snippets Groups Projects
Commit 357ef674 authored by Marton Ady's avatar Marton Ady
Browse files

capture backspace as msg_text_upd

parent fadc4da0
No related branches found
No related tags found
No related merge requests found
......@@ -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--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment