From 5bcef9721c126b487b076fa79ef902ccfc9e4930 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Tue, 28 May 2024 11:50:27 +0800 Subject: [PATCH] Update TextEditorWindow.py Signed-off-by: Loren Eteval --- Furious/Window/TextEditorWindow.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Furious/Window/TextEditorWindow.py b/Furious/Window/TextEditorWindow.py index 4070f3f..e1b44a8 100644 --- a/Furious/Window/TextEditorWindow.py +++ b/Furious/Window/TextEditorWindow.py @@ -347,17 +347,7 @@ class TextEditorWindow(AppQMainWindow): pass if index == AS_UserActivatedItemIndex(): - try: - if APP().isSystemTrayConnected(): - mbox = NewChangesNextTimeMBox(parent=self) - mbox.setWindowModality(QtCore.Qt.WindowModality.WindowModal) - - # Show the MessageBox asynchronously - mbox.open() - except Exception: - # Any non-exit exceptions - - pass + showNewChangesNextTimeMBox(parent=self) self.markAsSaved()