Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RisingOrange committed Jan 14, 2025
1 parent 121af2d commit 4b506b9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ankihub/gui/config_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from aqt.qt import QCheckBox

from ..settings import config
from .ankiaddonconfig.window import ConfigLayout

_config_dialog_manager = None

Expand Down Expand Up @@ -78,9 +77,12 @@ def _general_tab(conf_window) -> None:
tab.stretch()


def add_nested_checkboxes(
config_layout: ConfigLayout, key_prefix: str, description: str
) -> None:
def add_nested_checkboxes(config_layout, key_prefix: str, description: str) -> None:

from .ankiaddonconfig.window import ConfigLayout

config_layout = cast(ConfigLayout, config_layout)

main_checkbox = QCheckBox(description)
config_layout.addWidget(main_checkbox)

Expand Down

0 comments on commit 4b506b9

Please sign in to comment.