diff --git a/src/lib/navigation/completer/locationcompleter.cpp b/src/lib/navigation/completer/locationcompleter.cpp index bbf74cfe2..d7849e422 100644 --- a/src/lib/navigation/completer/locationcompleter.cpp +++ b/src/lib/navigation/completer/locationcompleter.cpp @@ -65,7 +65,6 @@ void LocationCompleter::showMostVisited() void LocationCompleter::currentChanged(const QModelIndex &index) { if (m_ignoreCurrentChangedSignal) { - m_ignoreCurrentChangedSignal = false; return; } @@ -124,6 +123,7 @@ void LocationCompleter::adjustPopupSize() s_view->resize(s_view->width(), popupHeight); m_ignoreCurrentChangedSignal = true; s_view->setCurrentIndex(QModelIndex()); + m_ignoreCurrentChangedSignal = false; s_view->show(); m_originalText = m_locationBar->text();