mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
LocationCompleter: Fix incorrectly showing search action after domain completion
This commit is contained in:
parent
5f9fe54086
commit
20010eb3c4
@ -120,6 +120,9 @@ void LocationCompleter::refreshJobFinished()
|
||||
|
||||
if (qzSettings->useInlineCompletion) {
|
||||
emit showDomainCompletion(job->domainCompletion());
|
||||
|
||||
m_originalText = m_locationBar->text();
|
||||
s_view->setOriginalText(m_originalText);
|
||||
}
|
||||
}
|
||||
|
||||
@ -372,8 +375,8 @@ void LocationCompleter::adjustPopupSize()
|
||||
const int popupHeight = s_view->sizeHintForRow(0) * qMin(maxItemsCount, s_model->rowCount()) + 2 * s_view->frameWidth();
|
||||
|
||||
m_originalText = m_locationBar->text();
|
||||
|
||||
s_view->setOriginalText(m_originalText);
|
||||
|
||||
s_view->resize(s_view->width(), popupHeight);
|
||||
s_view->show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user