mirror of
https://github.com/ankitects/anki.git
synced 2026-01-08 03:23: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.move(aw.mapToGlobal(QPoint(0 + x_offset, aw.height() - y_offset)))
|
||||||
lab.show()
|
lab.show()
|
||||||
window = aw.window() if hasattr(aw, "window") else aw
|
window = aw.window() if hasattr(aw, "window") else aw
|
||||||
|
|
||||||
was_active = window.isActiveWindow() if window else False
|
was_active = window.isActiveWindow() if window else False
|
||||||
|
|
||||||
def close_if_parent_inactive() -> None:
|
def close_if_parent_inactive() -> None:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue