mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
WebView: Don't clear history when navigatin from speed dial
QWebEngineView loses focus when clearing history, so when opening new tab with speed dial and navigating to other page from location bar it would give focus back to location bar. BUG: 391228 FIXED-IN: 3.0.1
This commit is contained in:
parent
18f109c079
commit
84dd402de5
|
@ -469,13 +469,6 @@ void WebView::slotUrlChanged(const QUrl &url)
|
|||
emit titleChanged(title());
|
||||
m_backgroundActivity = oldActivity;
|
||||
}
|
||||
|
||||
// Don't save blank page / speed dial in tab history
|
||||
if (!history()->canGoForward() && history()->backItems(1).size() == 1) {
|
||||
const QString s = LocationBar::convertUrlToText(history()->backItem().url());
|
||||
if (s.isEmpty())
|
||||
history()->clear();
|
||||
}
|
||||
}
|
||||
|
||||
void WebView::slotTitleChanged(const QString &title)
|
||||
|
|
Loading…
Reference in New Issue
Block a user