From c10c38ce991ed7e0bb2e0459eb0e111dc0908c25 Mon Sep 17 00:00:00 2001 From: Zzaphkiel Date: Thu, 19 Dec 2024 17:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=B9=E5=AE=9A=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E4=B8=8B=E5=85=B3=E9=97=AD=20OP.GG=20=E7=AA=97?= =?UTF-8?q?=E5=8F=A3=E4=BC=9A=E8=BF=9E=E7=9D=80=E4=B8=BB=E7=AA=97=E5=8F=A3?= =?UTF-8?q?=E4=B8=80=E8=B5=B7=E5=85=B3=E9=97=AD=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#555)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/view/opgg_window.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/view/opgg_window.py b/app/view/opgg_window.py index 773ed6d..2e45e94 100644 --- a/app/view/opgg_window.py +++ b/app/view/opgg_window.py @@ -558,6 +558,11 @@ def eventFilter(self, obj, e: QEvent): return super().eventFilter(obj, e) + def closeEvent(self, e): + # Fix #555 + e.ignore() + self.hide() + class WaitingInterface(QFrame): def __init__(self, parent: QWidget = None):