CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <[EMAIL PROTECTED]> 04/11/06 11:00:02

Modified files:
        src/widgets    : menu.cpp 

Log message:
        Desactivate Return key as a way to double-click on menu items, since it 
interferes with textboxes. Maybe it is feasible by playing on the focus.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/menu.cpp.diff?tr1=1.68&tr2=1.69&r1=text&r2=text

Patches:
Index: wesnoth/src/widgets/menu.cpp
diff -u wesnoth/src/widgets/menu.cpp:1.68 wesnoth/src/widgets/menu.cpp:1.69
--- wesnoth/src/widgets/menu.cpp:1.68   Sat Nov  6 09:19:28 2004
+++ wesnoth/src/widgets/menu.cpp        Sat Nov  6 11:00:02 2004
@@ -234,9 +234,9 @@
                case SDLK_PAGEDOWN:
                        move_selection_down(max_items_onscreen());
                        break;
-               case SDLK_RETURN:
-                       double_clicked_ = true;
-                       break;
+               //case SDLK_RETURN:
+               //      double_clicked_ = true;
+               //      break;
                default:
                        break;
                }


Reply via email to