diff options
-rw-r--r-- | widgets/text/e-entry.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index fca872d55c..f66a066921 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -503,9 +503,14 @@ e_entry_show_popup (EEntry *entry, gboolean visible) if (pop == NULL) return; - /* The async query can give us a result after the focus was lost by the - widget. In that case, we don't want to show the pop-up. */ - if (! GTK_WIDGET_HAS_FOCUS (entry->canvas)) + /* The async query can give us a result after the focus was + lost by the widget. In that case, we don't want to show + the pop-up. + + but only return early if we're popping *up* the completion + view. If we're trying to pop down the view, continue on + regardless of whether or not the canvas has focus. */ + if (/*visible && */! GTK_WIDGET_HAS_FOCUS (entry->canvas)) return; if (visible) { |