mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
formatting changes to pass the tests
This commit is contained in:
parent
198185f4ae
commit
53eb33fafe
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,7 +1103,7 @@ def tooltip(
|
|||
lab.move(aw.mapToGlobal(QPoint(0 + x_offset, aw.height() - y_offset)))
|
||||
lab.show()
|
||||
window = aw.window() if hasattr(aw, "window") else aw
|
||||
|
||||
|
||||
was_active = window.isActiveWindow() if window else False
|
||||
|
||||
def close_if_parent_inactive() -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue