Fix up pretty URL yanking

This commit is contained in:
Florian Bruhin 2016-08-07 11:40:26 +02:00
parent a18104529a
commit 96087bd554

View File

@ -646,7 +646,7 @@ class CommandDispatcher:
':' + str(port) if port > -1 else '')
elif what in ['url', 'pretty-url']:
flags = QUrl.RemovePassword
if what != 'url-pretty':
if what != 'pretty-url':
flags |= QUrl.FullyEncoded
s = self._current_url().toString(flags)
what = 'URL' # For printing