mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-09-30 10:58:09 +03:00
Update __main__.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
+4
-6
@@ -91,7 +91,7 @@ def main():
|
||||
)
|
||||
)
|
||||
|
||||
# Show the AppQMessageBox and wait for user to close it
|
||||
# Show the MessageBox and wait for user to close it
|
||||
messageBox.exec()
|
||||
else:
|
||||
if exitcode == ApplicationFactory.ExitCode.AssertionError:
|
||||
@@ -123,10 +123,8 @@ def main():
|
||||
)
|
||||
messageBox.addButton(_('OK'), AppQMessageBox.ButtonRole.RejectRole)
|
||||
|
||||
# Show the AppQMessageBox and wait for user to close it
|
||||
choice = messageBox.exec()
|
||||
|
||||
if choice == PySide6LegacyEnumValueWrapper(
|
||||
# Show the MessageBox and wait for user to close it
|
||||
if messageBox.exec() == PySide6LegacyEnumValueWrapper(
|
||||
AppQMessageBox.ButtonRole.AcceptRole
|
||||
):
|
||||
# Open
|
||||
@@ -142,7 +140,7 @@ def main():
|
||||
else:
|
||||
# Crash log not saved
|
||||
|
||||
# Show the AppQMessageBox and wait for user to close it
|
||||
# Show the MessageBox and wait for user to close it
|
||||
messageBox.exec()
|
||||
|
||||
sys.exit(exitcode)
|
||||
|
||||
Reference in New Issue
Block a user