aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/text/e-entry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c
index 47bbca0079..6301672124 100644
--- a/widgets/text/e-entry.c
+++ b/widgets/text/e-entry.c
@@ -632,8 +632,10 @@ static void
full_cb (ECompletionView *view, gpointer user_data)
{
EEntry *entry = E_ENTRY (user_data);
+ gboolean show;
- e_entry_show_popup (entry, view->choices->len > 0);
+ show = GTK_WIDGET_HAS_FOCUS (GTK_WIDGET (entry->canvas)) && view->choices->len > 0;
+ e_entry_show_popup (entry, show);
}
static void