Commit daa0fc34 authored by Jan Paul Batrina's avatar Jan Paul Batrina Committed by Elvis Angelaccio

When an invalid protocol is used, reset the navigator location to the previous url

BUG: 413478
parent aa12f9ec
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment