fc::Fkey_return -> fc::Fkey_enter

This commit is contained in:
Markus Gans 2015-07-03 20:33:54 +02:00
parent c8a024ddf4
commit f282e3de3a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void Button::onKeyPress (FKeyEvent* event)
int key = event->key();
// catch the enter key
if ( key == fc::Fkey_return || key == fc::Fkey_return )
if ( key == fc::Fkey_return || key == fc::Fkey_enter )
return;
FButton::onKeyPress(event);