Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
Dolphin
Commits
daa0fc34
Commit
daa0fc34
authored
Oct 03, 2020
by
Jan Paul Batrina
Committed by
Elvis Angelaccio
Oct 05, 2020
Browse files
When an invalid protocol is used, reset the navigator location to the previous url
BUG: 413478
parent
aa12f9ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dolphinviewcontainer.cpp
View file @
daa0fc34
...
...
@@ -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
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment