Don't show completion if the entry already lost focus
This commit is contained in:
parent
b5a23cec3a
commit
5bf92be622
1 changed files with 3 additions and 0 deletions
|
@ -317,6 +317,9 @@ midori_location_action_popup_timeout_cb (gpointer data)
|
||||||
#endif
|
#endif
|
||||||
gint matches, height, screen_height;
|
gint matches, height, screen_height;
|
||||||
|
|
||||||
|
if (!gtk_widget_has_focus (action->entry))
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (G_UNLIKELY (!action->popup))
|
if (G_UNLIKELY (!action->popup))
|
||||||
{
|
{
|
||||||
GtkWidget* popup;
|
GtkWidget* popup;
|
||||||
|
|
Loading…
Reference in a new issue