From af8ae69837c0712b2c8be6b46a27191873d539c3 Mon Sep 17 00:00:00 2001 From: Mateus Etto Date: Mon, 27 Jun 2022 16:27:56 +0900 Subject: [PATCH] Fix Study Deck in Sway spawning tiled window instead of floating window (#1935) * Fix Study Deck in sway spawning tiled window instead of floating window * Update CONTRIBUTORS * Fix format error --- CONTRIBUTORS | 1 + qt/aqt/main.py | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c69c5c1dc..ceb0a77d2 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -75,6 +75,7 @@ Meredith Derecho Daniel Wallgren Kerrick Staley Maksim Abramchuk +Mateus Etto Benjamin Kulnik Shaun Ren Ryan Greenblatt diff --git a/qt/aqt/main.py b/qt/aqt/main.py index 5772fdedf..e5e049d38 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -1532,7 +1532,11 @@ title="{}" {}>{}""".format( ).run_in_background() StudyDeck( - self, dyn=True, current=self.col.decks.current()["name"], callback=callback + self, + parent=self, + dyn=True, + current=self.col.decks.current()["name"], + callback=callback, ) def onEmptyCards(self) -> None: