From 307a45b4434581d2aa54ae536670761ec1373f21 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 8 Apr 2021 22:09:28 +0200 Subject: [PATCH] Readded self.show() to widget to fix issue --- pesterchum.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pesterchum.py b/pesterchum.py index e4f2767..5f775a5 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -1276,8 +1276,14 @@ class PesterWindow(MovingWindow): self.mychumcolor = QtWidgets.QPushButton(self) self.mychumcolor.clicked.connect(self.changeMyColor) + # self.show() before self.initTheme() fixes a + # layering issue on windows... for some reason... + self.show() + self.initTheme(self.theme) + self.hide() + self.waitingMessages = waitingMessageHolder(self) self.idler = AttrDict(dict( @@ -3280,7 +3286,7 @@ class MainProgram(QtCore.QObject): doSoundInit() self.widget = PesterWindow(options, app=self.app) - #self.widget.show() <== moved to function + #self.widget.show() <== Already called in showLoading() self.trayicon = PesterTray(PesterIcon(self.widget.theme["main/icon"]), self.widget, self.app) self.traymenu = QtWidgets.QMenu()