mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix python3.7 lint issue
This commit is contained in:
parent
f2594b071e
commit
1fc951471c
1 changed files with 6 additions and 6 deletions
|
@ -159,21 +159,21 @@ class CardLayout(QDialog):
|
|||
self.tform.front_button.setToolTip(shortcut("Ctrl+1"))
|
||||
self.tform.back_button.setToolTip(shortcut("Ctrl+2"))
|
||||
self.tform.style_button.setToolTip(shortcut("Ctrl+3"))
|
||||
QShortcut(
|
||||
QShortcut( # type: ignore
|
||||
QKeySequence("Ctrl+1"),
|
||||
self,
|
||||
activated=lambda: self.tform.front_button.setChecked(True),
|
||||
) # type: ignore
|
||||
QShortcut(
|
||||
)
|
||||
QShortcut( # type: ignore
|
||||
QKeySequence("Ctrl+2"),
|
||||
self,
|
||||
activated=lambda: self.tform.back_button.setChecked(True),
|
||||
) # type: ignore
|
||||
QShortcut(
|
||||
)
|
||||
QShortcut( # type: ignore
|
||||
QKeySequence("Ctrl+3"),
|
||||
self,
|
||||
activated=lambda: self.tform.style_button.setChecked(True),
|
||||
) # type: ignore
|
||||
)
|
||||
|
||||
# Main area setup
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in a new issue