LocationCompleterView: Fix incorrect resize in some cases

remotes/origin/Falkon/3.0
David Rosca 8 years ago
parent 5ee0623d32
commit 8d06eee009
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
  1. 9
      src/lib/navigation/completer/locationcompleterview.cpp

@ -137,11 +137,12 @@ void LocationCompleterView::adjustSize()
}
if (!m_forceResize) {
if (newHeight == m_view->height() || newHeight == m_resizeHeight) {
if (newHeight == m_resizeHeight) {
return;
}
if (newHeight < m_view->height()) {
} else if (newHeight == m_view->height()) {
m_resizeHeight = -1;
return;
} else if (newHeight < m_view->height()) {
m_resizeHeight = newHeight;
m_resizeTimer->start();
return;

Loading…
Cancel
Save