1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-12-22 23:55:30 +02:00

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



git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5915 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
werner 2010-04-18 16:43:41 +00:00
parent 8e9001644c
commit bacbfb3f39

View File

@ -807,8 +807,10 @@ static gboolean activate(GtkWidget *widget, GdkEventMotion *event,
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) {