mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
TabWidget: Don't try to load empty url when adding a tab
Fixes showing titles of other tabs when restoring session
This commit is contained in:
parent
72438755a2
commit
f67348fac8
|
@ -379,7 +379,7 @@ int TabWidget::addView(const LoadRequest &req, const QString &title, const Qz::N
|
||||||
r.setUrl(url);
|
r.setUrl(url);
|
||||||
webTab->webView()->load(r);
|
webTab->webView()->load(r);
|
||||||
}
|
}
|
||||||
else {
|
else if (req.url().isValid()) {
|
||||||
webTab->webView()->load(req);
|
webTab->webView()->load(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user