mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fixed "Don't quit upon closing last tab" with blank url on new tab.
- it now properly loads empty page closes #400
This commit is contained in:
parent
330b35f8db
commit
d5071215eb
|
@ -140,7 +140,7 @@ void WebView::load(const QNetworkRequest &request, QNetworkAccessManager::Operat
|
|||
return;
|
||||
}
|
||||
|
||||
if (isUrlValid(url)) {
|
||||
if (url.isEmpty() || isUrlValid(url)) {
|
||||
QWebView::load(request, operation, body);
|
||||
emit urlChanged(url);
|
||||
m_aboutToLoadUrl = url;
|
||||
|
|
Loading…
Reference in New Issue
Block a user