Author: ilor
Date: Thu Jul 31 12:51:53 2008
New Revision: 28284
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28284&view=rev
Log:
editor2: select inverse fix/tweak
Modified:
trunk/data/core/editor2-hotkeys.cfg
trunk/src/editor2/editor_controller.cpp
Modified: trunk/data/core/editor2-hotkeys.cfg
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/editor2-hotkeys.cfg?rev=28284&r1=28283&r2=28284&view=diff
==============================================================================
--- trunk/data/core/editor2-hotkeys.cfg (original)
+++ trunk/data/core/editor2-hotkeys.cfg Thu Jul 31 12:51:53 2008
@@ -70,6 +70,12 @@
[/hotkey]
[hotkey]
+ command="editor-select-inverse"
+ key="i"
+ {IF_APPLE_CMD_ELSE_CTRL}
+[/hotkey]
+
+[hotkey]
command="editor-tool-next"
key="n"
[/hotkey]
Modified: trunk/src/editor2/editor_controller.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/editor_controller.cpp?rev=28284&r1=28283&r2=28284&view=diff
==============================================================================
--- trunk/src/editor2/editor_controller.cpp (original)
+++ trunk/src/editor2/editor_controller.cpp Thu Jul 31 12:51:53 2008
@@ -328,7 +328,8 @@
return !get_map().selection().empty();
case HOTKEY_EDITOR_PASTE:
return !clipboard_.empty();
- case HOTKEY_EDITOR_SELECT_ALL:
+ case HOTKEY_EDITOR_SELECT_ALL:
+ case HOTKEY_EDITOR_SELECT_INVERSE:
case HOTKEY_EDITOR_MAP_RESIZE:
case HOTKEY_EDITOR_MAP_ROTATE:
case HOTKEY_EDITOR_MAP_FLIP_X:
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits