Skip to content

Commit

Permalink
Fix hopefully final occurrence of Qt6-incompatibility
Browse files Browse the repository at this point in the history
This would fire/cause breakge when the user had "do not move existing
cards" selected.
  • Loading branch information
aplaice committed Oct 30, 2023
1 parent 30a82ec commit 00a4cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crowd_anki/importer/import_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def setup_misc(self):
# set as default from config settings

if self.userConfig.import_notes_ignore_deck_movement:
self.form.cb_ignore_move_cards.setCheckState(Qt.Checked)
self.form.cb_ignore_move_cards.setCheckState(Qt.CheckState.Checked)

def setup_deck_part_checkboxes(self):
def set_checked_and_text(checkbox, text, count, checked: bool = True):
Expand Down

0 comments on commit 00a4cca

Please sign in to comment.