Skip to content

Commit

Permalink
修复特定条件下关闭 OP.GG 窗口会连着主窗口一起关闭的问题 (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Dec 19, 2024
1 parent 2daec34 commit c10c38c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/view/opgg_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c10c38c

Please sign in to comment.