mirror of
git://projects.qi-hardware.com/fped.git
synced 2024-11-26 01:59:44 +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:
parent
8e9001644c
commit
bacbfb3f39
@ -807,8 +807,10 @@ static gboolean activate(GtkWidget *widget, GdkEventMotion *event,
|
|||||||
if (status == es_good)
|
if (status == es_good)
|
||||||
unchanged = 0;
|
unchanged = 0;
|
||||||
}
|
}
|
||||||
if (unchanged)
|
if (unchanged) {
|
||||||
|
inst_deselect();
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
}
|
||||||
for (edit = open_edits; edit;
|
for (edit = open_edits; edit;
|
||||||
edit = gtk_object_get_data(GTK_OBJECT(edit), "edit-next"))
|
edit = gtk_object_get_data(GTK_OBJECT(edit), "edit-next"))
|
||||||
if (get_status(edit) == es_good) {
|
if (get_status(edit) == es_good) {
|
||||||
|
Loading…
Reference in New Issue
Block a user