fc::Fkey_return -> fc::Fkey_enter
This commit is contained in:
parent
c8a024ddf4
commit
f282e3de3a
|
@ -69,7 +69,7 @@ void Button::onKeyPress (FKeyEvent* event)
|
||||||
int key = event->key();
|
int key = event->key();
|
||||||
|
|
||||||
// catch the enter key
|
// catch the enter key
|
||||||
if ( key == fc::Fkey_return || key == fc::Fkey_return )
|
if ( key == fc::Fkey_return || key == fc::Fkey_enter )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
FButton::onKeyPress(event);
|
FButton::onKeyPress(event);
|
||||||
|
|
Loading…
Reference in New Issue