Corrected an issue showing a message panel before upgrading PyQt and/or eric on macOS. eric7

Fri, 20 May 2022 11:55:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 20 May 2022 11:55:12 +0200
branch
eric7
changeset 9087
21148b6f9d90
parent 9085
65451156bece
child 9088
b079ec4176db

Corrected an issue showing a message panel before upgrading PyQt and/or eric on macOS.

eric7/UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/eric7/UI/UserInterface.py	Fri May 20 11:30:09 2022 +0200
+++ b/eric7/UI/UserInterface.py	Fri May 20 11:55:12 2022 +0200
@@ -4433,7 +4433,7 @@
         @rtype bool
         """
         yes = EricMessageBox.yesNo(
-            self,
+            None,
             self.tr("Upgrade PyQt"),
             self.tr("""eric needs to be closed in order to upgrade PyQt. It"""
                     """ will be restarted once the upgrade process has"""
@@ -4456,7 +4456,7 @@
         @rtype bool
         """
         yes = EricMessageBox.yesNo(
-            self,
+            None,
             self.tr("Upgrade Eric"),
             self.tr("""eric needs to be closed in order to be upgraded. It"""
                     """ will be restarted once the upgrade process has"""
@@ -4480,7 +4480,7 @@
         @rtype bool
         """
         yes = EricMessageBox.yesNo(
-            self,
+            None,
             self.tr("Upgrade Eric"),
             self.tr("""eric needs to be closed in order to upgrade eric and"""
                     """ PyQt. It will be restarted once the upgrade process"""

eric ide

mercurial