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:
Ryan Roden-Corrent 2017-02-15 21:28:03 -05:00
parent 02fb1a037c
commit 6a04c4b3e8

View File

@ -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: