<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40575 >

In practice I have found the behaviour of simultaneously
switching to and applying the new tool to all selected
tiles when pressing an editor tool shortcut key (e.g.
't') somewhat annoying. This patch removes that behaviour;
the current tool can still be applied to the current
selection by pressing 'space'.


-----------------------------------------------------------------------
いったい何を考えていたんだ。
diff --git a/client/gui-gtk-2.0/editgui.c b/client/gui-gtk-2.0/editgui.c
index 559fadf..2168cc2 100644
--- a/client/gui-gtk-2.0/editgui.c
+++ b/client/gui-gtk-2.0/editgui.c
@@ -1713,7 +1713,6 @@ gboolean handle_edit_key_press(GdkEventKey *ev)
 
   if (new_ett != NUM_EDITOR_TOOL_TYPES) {
     editor_set_tool(new_ett);
-    editor_apply_tool_to_selection();
   }
 
   editgui_refresh();
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to