Menu: Make the CTextBox widget recognize K_KP_ENTER
This commit is contained in:
parent
b649ab78ca
commit
8d1270a5d1
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue