diff options
Diffstat (limited to 'src/urlbar/completionwidget.cpp')
-rw-r--r-- | src/urlbar/completionwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp index 9a5c9432..acec2d4f 100644 --- a/src/urlbar/completionwidget.cpp +++ b/src/urlbar/completionwidget.cpp @@ -68,6 +68,11 @@ CompletionWidget::CompletionWidget(QWidget *parent) void CompletionWidget::insertSearchList(const UrlSearchList &list, const QString& text) { + if (!isVisible()) + { + _searchEngine = SearchEngine::defaultEngine(); + } + _list = list; int i = 0; foreach(const UrlSearchItem &item, _list) |