mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
call reset after merging models
This commit is contained in:
parent
e81cb9346f
commit
a698f95b97
1 changed files with 1 additions and 0 deletions
|
@ -1704,6 +1704,7 @@ backup and then run this command again after syncing.""")
|
||||||
if ui.utils.askUser(_(
|
if ui.utils.askUser(_(
|
||||||
"Would you like to merge models that have the same name?")):
|
"Would you like to merge models that have the same name?")):
|
||||||
self.deck.mergeModels(ret[1])
|
self.deck.mergeModels(ret[1])
|
||||||
|
self.reset()
|
||||||
ui.utils.showInfo(_("Merge complete."))
|
ui.utils.showInfo(_("Merge complete."))
|
||||||
else:
|
else:
|
||||||
ui.utils.showWarning(_("""%s.
|
ui.utils.showWarning(_("""%s.
|
||||||
|
|
Loading…
Reference in a new issue