[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/widgets menu.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/widgets menu.cpp |
Date: |
Sat, 06 Nov 2004 06:05:47 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 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;
}
- [Wesnoth-cvs-commits] wesnoth/src/widgets menu.cpp,
Guillaume Melquiond <=