mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
clear selection when deleting add-on(s)
fixes error when deleting last, and wrong selection otherwise
This commit is contained in:
parent
5bac787a5d
commit
86b3657969
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ class AddonsDialog(QDialog):
|
|||
return
|
||||
for dir in selected:
|
||||
self.mgr.deleteAddon(dir)
|
||||
self.form.addonList.clearSelection()
|
||||
self.redrawAddons()
|
||||
|
||||
def onGetAddons(self):
|
||||
|
|
Loading…
Reference in a new issue