mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-16 09:25:40 +01:00
Fix a spurious error when cancelling addition of a tag to the insert tag menu
This commit is contained in:
parent
e303e85d2a
commit
73ffadea06
1 changed files with 3 additions and 3 deletions
|
|
@ -278,9 +278,9 @@ def add_insert_tag(self):
|
|||
'Enter the name of the tag'))
|
||||
if ok:
|
||||
mru = tprefs['insert_tag_mru']
|
||||
mru.insert(0, name)
|
||||
tprefs['insert_tag_mru'] = mru
|
||||
self._build_insert_tag_button_menu()
|
||||
mru.insert(0, name)
|
||||
tprefs['insert_tag_mru'] = mru
|
||||
self._build_insert_tag_button_menu()
|
||||
|
||||
def remove_insert_tag(self, name):
|
||||
mru = tprefs['insert_tag_mru']
|
||||
|
|
|
|||
Loading…
Reference in a new issue