mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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.front_button.setToolTip(shortcut("Ctrl+1"))
|
||||||
self.tform.back_button.setToolTip(shortcut("Ctrl+2"))
|
self.tform.back_button.setToolTip(shortcut("Ctrl+2"))
|
||||||
self.tform.style_button.setToolTip(shortcut("Ctrl+3"))
|
self.tform.style_button.setToolTip(shortcut("Ctrl+3"))
|
||||||
QShortcut(
|
QShortcut( # type: ignore
|
||||||
QKeySequence("Ctrl+1"),
|
QKeySequence("Ctrl+1"),
|
||||||
self,
|
self,
|
||||||
activated=lambda: self.tform.front_button.setChecked(True),
|
activated=lambda: self.tform.front_button.setChecked(True),
|
||||||
) # type: ignore
|
)
|
||||||
QShortcut(
|
QShortcut( # type: ignore
|
||||||
QKeySequence("Ctrl+2"),
|
QKeySequence("Ctrl+2"),
|
||||||
self,
|
self,
|
||||||
activated=lambda: self.tform.back_button.setChecked(True),
|
activated=lambda: self.tform.back_button.setChecked(True),
|
||||||
) # type: ignore
|
)
|
||||||
QShortcut(
|
QShortcut( # type: ignore
|
||||||
QKeySequence("Ctrl+3"),
|
QKeySequence("Ctrl+3"),
|
||||||
self,
|
self,
|
||||||
activated=lambda: self.tform.style_button.setChecked(True),
|
activated=lambda: self.tform.style_button.setChecked(True),
|
||||||
) # type: ignore
|
)
|
||||||
|
|
||||||
# Main area setup
|
# Main area setup
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
Loading…
Reference in a new issue