Allow replacing quickmark with SQL backend.
This functionality was lost with the transition to SQL. The user should be able to replace a quickmark if they answer 'yes' to the prompt.
This commit is contained in:
parent
02fb1a037c
commit
6a04c4b3e8
@ -168,7 +168,7 @@ class QuickmarkManager(UrlMarkManager):
|
|||||||
|
|
||||||
def set_mark():
|
def set_mark():
|
||||||
"""Really set the quickmark."""
|
"""Really set the quickmark."""
|
||||||
self.insert([name, url])
|
self.insert([name, url], replace=True)
|
||||||
log.misc.debug("Added quickmark {} for {}".format(name, url))
|
log.misc.debug("Added quickmark {} for {}".format(name, url))
|
||||||
|
|
||||||
if name in self:
|
if name in self:
|
||||||
|
Loading…
Reference in New Issue
Block a user