projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
323843b
)
When Enter is pressed in an input field, instead of hidding the menu, go to the next...
author
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 29 Apr 2004 14:07:39 +0000
(14:07 +0000)
committer
Ricardo Cruz
<rick2@aeiou.pt>
Thu, 29 Apr 2004 14:07:39 +0000
(14:07 +0000)
SVN-Revision: 843
src/menu.cpp
patch
|
blob
|
history
diff --git
a/src/menu.cpp
b/src/menu.cpp
index
34dd8b8
..
c299975
100644
(file)
--- a/
src/menu.cpp
+++ b/
src/menu.cpp
@@
-389,11
+389,14
@@
Menu::action()
break;
case MN_ACTION:
- case MN_TEXTFIELD:
- case MN_NUMFIELD:
Menu::set_current(0);
item[active_item].toggled = true;
break;
+ case MN_TEXTFIELD:
+ case MN_NUMFIELD:
+ menuaction = MENU_ACTION_DOWN;
+ action();
+ break;
case MN_BACK:
Menu::pop_current();