mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-20 10:20:09 +00:00
Don't unselect when resizing
This was causing problems in Epiphany. Fixes bug 584805.
This commit is contained in:
parent
8da1c40d72
commit
dccfd423ca
@ -1426,9 +1426,6 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
|
||||
gtk_tree_view_columns_autosize (GTK_TREE_VIEW (completion->priv->tree_view));
|
||||
gtk_widget_set_size_request (completion->priv->tree_view, width, items * height);
|
||||
|
||||
/* default on no match */
|
||||
completion->priv->current_selected = -1;
|
||||
|
||||
if (actions)
|
||||
{
|
||||
gtk_widget_show (completion->priv->action_view);
|
||||
@ -1498,6 +1495,9 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
|
||||
|
||||
gtk_widget_show_all (completion->priv->vbox);
|
||||
|
||||
/* default on no match */
|
||||
completion->priv->current_selected = -1;
|
||||
|
||||
_gtk_entry_completion_resize_popup (completion);
|
||||
|
||||
toplevel = gtk_widget_get_toplevel (completion->priv->entry);
|
||||
|
Loading…
Reference in New Issue
Block a user