mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
LocationCompleterView: Fix incorrect resize in some cases
This commit is contained in:
parent
5ee0623d32
commit
8d06eee009
@ -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…
Reference in New Issue
Block a user