mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
bug-fixin'
This commit is contained in:
@@ -172,7 +172,8 @@ bool GUITextInputMenu::OnEvent(const SEvent& event)
|
||||
case 257:
|
||||
acceptInput();
|
||||
quitMenu();
|
||||
break;
|
||||
// quitMenu deallocates menu
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if(event.GUIEvent.EventType==gui::EGET_EDITBOX_ENTER)
|
||||
@@ -182,7 +183,8 @@ bool GUITextInputMenu::OnEvent(const SEvent& event)
|
||||
case 256:
|
||||
acceptInput();
|
||||
quitMenu();
|
||||
break;
|
||||
// quitMenu deallocates menu
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user