mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-17 15:31:20 +00:00
When an invalid protocol is used, reset the navigator location to the previous url
BUG: 413478
This commit is contained in:
parent
aa12f9ec1d
commit
daa0fc341d
|
@ -710,6 +710,7 @@ void DolphinViewContainer::slotUrlNavigatorLocationChanged(const QUrl& url)
|
|||
redirect(QUrl(), m_urlNavigator->locationUrl(1));
|
||||
} else {
|
||||
showMessage(i18nc("@info:status", "Invalid protocol"), Error);
|
||||
m_urlNavigator->goBack();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue