From: mental Date: Fri, 5 Oct 2007 03:35:03 +0000 (+0000) Subject: keep family list open when font is selected X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f08603d3dacc975ff6e8810e88ea1ea73499c183;p=inkscape.git keep family list open when font is selected --- diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 0cccd7087..803041c6e 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -3874,9 +3874,6 @@ sp_text_toolbox_family_changed (GtkTreeSelection *selection, return; } - gtk_widget_hide (popdown); - visible = false; - gtk_entry_set_text (GTK_ENTRY (entry), family); SPStyle *query = @@ -4131,6 +4128,8 @@ sp_text_toolbox_family_list_keypress (GtkWidget *w, GdkEventKey *event, GObject if (!desktop) return FALSE; switch (get_group0_keyval (event)) { + case GDK_KP_Enter: + case GDK_Return: case GDK_Escape: // defocus gtk_widget_hide (w); visible = false;