r5915 - trunk/eda/fped

werner at docs.openmoko.org werner at docs.openmoko.org
Sun Apr 18 18:43:42 CEST 2010


Author: werner
Date: 2010-04-18 18:43:41 +0200 (Sun, 18 Apr 2010)
New Revision: 5915

Modified:
   trunk/eda/fped/gui_status.c
Log:
When editing, fped would sometimes not respond to [Enter] if the value had not
changed. This was particularly noticeable when editing variable names.

- gui_status.c (activate): reset the selection (along with all open edits) also
  when nothing has changed



Modified: trunk/eda/fped/gui_status.c
===================================================================
--- trunk/eda/fped/gui_status.c	2010-04-13 12:48:04 UTC (rev 5914)
+++ trunk/eda/fped/gui_status.c	2010-04-18 16:43:41 UTC (rev 5915)
@@ -807,8 +807,10 @@
 		if (status == es_good)
 			unchanged = 0;
 	}
-	if (unchanged)
+	if (unchanged) {
+		inst_deselect();
 		return TRUE;
+	}
 	for (edit = open_edits; edit;
 	    edit = gtk_object_get_data(GTK_OBJECT(edit), "edit-next"))
 		if (get_status(edit) == es_good) {




More information about the commitlog mailing list