src/eric7/JediInterface/JediServer.py

branch
eric7
changeset 11256
b19a0278b8bf
parent 11255
1c2bd52f2002
--- a/src/eric7/JediInterface/JediServer.py	Fri May 02 16:19:35 2025 +0200
+++ b/src/eric7/JediInterface/JediServer.py	Sat May 03 18:00:26 2025 +0200
@@ -519,7 +519,7 @@
                 return
 
             newName, ok = QInputDialog.getText(
-                None,
+                self.__ui,
                 self.tr("Rename Variable"),
                 self.tr("Enter the new name for the variable:"),
                 QLineEdit.EchoMode.Normal,
@@ -561,7 +561,7 @@
                 return
 
             newName, ok = QInputDialog.getText(
-                None,
+                self.__ui,
                 self.tr("Extract Variable"),
                 self.tr("Enter the name for the new variable:"),
                 QLineEdit.EchoMode.Normal,
@@ -639,7 +639,7 @@
                 return
 
             newName, ok = QInputDialog.getText(
-                None,
+                self.__ui,
                 self.tr("Extract Function"),
                 self.tr("Enter the name for the function:"),
                 QLineEdit.EchoMode.Normal,
@@ -748,7 +748,7 @@
         """
         if "Error" in result:
             EricMessageBox.critical(
-                None,
+                self.__ui,
                 self.tr("Apply Refactoring"),
                 self.tr(
                     "<p>The refactoring could not be applied.</p><p>Reason: {0}</p>"

eric ide

mercurial