src/eric7/CondaInterface/CondaPackagesWidget.py

branch
eric7
changeset 11006
a671918232f3
parent 10689
3ede487187f2
child 11034
7b8a21fd2d58
--- a/src/eric7/CondaInterface/CondaPackagesWidget.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/CondaInterface/CondaPackagesWidget.py	Fri Oct 25 17:58:59 2024 +0200
@@ -432,7 +432,7 @@
 
         details = item.data(0, self.PackageDetailedDataRole)
         if details:
-            dlg = CondaPackageDetailsDialog(details, self)
+            dlg = CondaPackageDetailsDialog(details, parent=self)
             dlg.exec()
 
     @pyqtSlot(str)
@@ -578,7 +578,7 @@
 
         infoDict = self.__conda.getCondaInformation()
 
-        dlg = CondaInfoDialog(infoDict, self)
+        dlg = CondaInfoDialog(infoDict, parent=self)
         dlg.exec()
 
     @pyqtSlot()
@@ -656,7 +656,7 @@
         )
         if prefix:
             dlg = CondaNewEnvironmentDataDialog(
-                self.tr("Clone Environment"), False, self
+                self.tr("Clone Environment"), False, parent=self
             )
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 virtEnvName, envName, _ = dlg.getData()
@@ -683,7 +683,9 @@
         """
         from .CondaNewEnvironmentDataDialog import CondaNewEnvironmentDataDialog
 
-        dlg = CondaNewEnvironmentDataDialog(self.tr("Create Environment"), True, self)
+        dlg = CondaNewEnvironmentDataDialog(
+            self.tr("Create Environment"), True, parent=self
+        )
         if dlg.exec() == QDialog.DialogCode.Accepted:
             virtEnvName, envName, requirements = dlg.getData()
             args = [

eric ide

mercurial