r5771 - trunk/eda/fped

werner at docs.openmoko.org werner at docs.openmoko.org
Sat Jan 2 22:38:16 CET 2010


Author: werner
Date: 2010-01-02 22:38:15 +0100 (Sat, 02 Jan 2010)
New Revision: 5771

Modified:
   trunk/eda/fped/gui_canvas.c
Log:
When selecting a tool and then selecting an object, the tool still appeared to
be active, while in truth it had been reset internally.

- gui_canvas.c (button_press_event): if a click is used for selection (and not
  dragging), reset the tool first



Modified: trunk/eda/fped/gui_canvas.c
===================================================================
--- trunk/eda/fped/gui_canvas.c	2010-01-02 15:47:46 UTC (rev 5770)
+++ trunk/eda/fped/gui_canvas.c	2010-01-02 21:38:15 UTC (rev 5771)
@@ -214,6 +214,7 @@
 			drag_start = pos;
 			break;
 		}
+		tool_reset();
 		prev = selected_inst;
 		inst_select(pos);
 		if (prev != selected_inst)




More information about the commitlog mailing list