-
-
Save cryzed/b1324581993e5f19f6fbd86695003cb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: qutebrowser/browser/urlmarks.py | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- qutebrowser/browser/urlmarks.py (revision f561272f9aa71dd1f171eaecb2d64e44688069a4) | |
+++ qutebrowser/browser/urlmarks.py (date 1520532060000) | |
@@ -186,6 +186,7 @@ | |
def set_mark(): | |
"""Really set the quickmark.""" | |
self.marks[name] = url | |
+ self.marks.move_to_end(name, last=False) | |
self.changed.emit() | |
log.misc.debug("Added quickmark {} for {}".format(name, url)) | |
@@ -286,5 +287,6 @@ | |
raise AlreadyExistsError("Bookmark already exists!") | |
else: | |
self.marks[urlstr] = title | |
+ self.marks.move_to_end(urlstr, last=False) | |
self.changed.emit() | |
return True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment