Menu: Make the CTextBox widget recognize K_KP_ENTER

This commit is contained in:
Marco Cawthorne 2020-07-09 22:03:35 +02:00
parent b649ab78ca
commit 8d1270a5d1
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ CTextBox::Input(float type, float x, float y, float devid)
}
break;
case K_ENTER:
case K_KP_ENTER:
if (m_onEnter) {
m_onEnter(m_text);
}