mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-05 21:37:56 +03:00
Update TextEditorWindow.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user