Fix up pretty URL yanking
This commit is contained in:
parent
a18104529a
commit
96087bd554
@ -646,7 +646,7 @@ class CommandDispatcher:
|
|||||||
':' + str(port) if port > -1 else '')
|
':' + str(port) if port > -1 else '')
|
||||||
elif what in ['url', 'pretty-url']:
|
elif what in ['url', 'pretty-url']:
|
||||||
flags = QUrl.RemovePassword
|
flags = QUrl.RemovePassword
|
||||||
if what != 'url-pretty':
|
if what != 'pretty-url':
|
||||||
flags |= QUrl.FullyEncoded
|
flags |= QUrl.FullyEncoded
|
||||||
s = self._current_url().toString(flags)
|
s = self._current_url().toString(flags)
|
||||||
what = 'URL' # For printing
|
what = 'URL' # For printing
|
||||||
|
Loading…
Reference in New Issue
Block a user