From b8de690a2122d6086c6abdd5df6862f0a3a322c7 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Tue, 28 May 2024 11:50:27 +0800 Subject: [PATCH] Refine text-editor behavior 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 4070f3ff..e1b44a83 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()