From bacbfb3f39544de3635697c1e1a0b48b7482d948 Mon Sep 17 00:00:00 2001 From: werner Date: Sun, 18 Apr 2010 16:43:41 +0000 Subject: [PATCH] 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 --- gui_status.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui_status.c b/gui_status.c index f59d3fd..6fc7ef6 100644 --- a/gui_status.c +++ b/gui_status.c @@ -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) {