Skip to content

Commit

Permalink
fix study deck->add deck->cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Jul 30, 2021
1 parent c1ec0fb commit d077d95
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions qt/aqt/studydeck.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,5 @@ def success(out: OpChangesWithId) -> None:

QDialog.accept(self)

add_deck_dialog(parent=self, default_text=default).success(
success
).run_in_background()
if diag := add_deck_dialog(parent=self, default_text=default):
diag.success(success).run_in_background()

0 comments on commit d077d95

Please sign in to comment.