mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
allow canceling of note type selection (#849)
This commit is contained in:
parent
0dceb0ce22
commit
254a2ecad6
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class ModelChooser(QHBoxLayout):
|
|||
self.mw, names=nameFunc,
|
||||
accept=_("Choose"), title=_("Choose Note Type"),
|
||||
help="_notes", current=current, parent=self.widget,
|
||||
buttons=[edit], cancel=False)
|
||||
buttons=[edit], cancel=True)
|
||||
if not ret.name:
|
||||
return
|
||||
m = self.deck.models.byName(ret.name)
|
||||
|
|
Loading…
Reference in a new issue