src/eric7/PipInterface/PipPackagesWidget.py

branch
eric7-maintenance
changeset 11019
27cd57e98461
parent 10941
07cad049002c
parent 11006
a671918232f3
child 11063
bb05d1db9286
--- a/src/eric7/PipInterface/PipPackagesWidget.py	Thu Oct 03 17:06:51 2024 +0200
+++ b/src/eric7/PipInterface/PipPackagesWidget.py	Thu Oct 31 10:54:33 2024 +0100
@@ -1443,7 +1443,7 @@
 
         venvName = self.environmentsComboBox.currentText()
         if venvName:
-            dlg = PipPackagesInputDialog(self.tr("Install Packages"))
+            dlg = PipPackagesInputDialog(self.tr("Install Packages"), parent=self)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 packages, user = dlg.getData()
                 self.executeInstallPackages(packages, userSite=user)
@@ -1457,7 +1457,7 @@
 
         venvName = self.environmentsComboBox.currentText()
         if venvName:
-            dlg = PipFileSelectionDialog("package")
+            dlg = PipFileSelectionDialog("package", parent=self)
             if dlg.exec() == QDialog.DialogCode.Accepted:
                 package, user = dlg.getData()
                 if package and os.path.exists(package):
@@ -1628,9 +1628,9 @@
             )
 
             dlg = ConfigurationDialog(
-                None,
-                "Configuration",
-                True,
+                parent=self,
+                name="Configuration",
+                modal=True,
                 fromEric=False,
                 displayMode=ConfigurationMode.PIPMANAGERMODE,
             )
@@ -2171,7 +2171,7 @@
         venvName = self.environmentsComboBox.currentText()
         if venvName == self.__pip.getProjectEnvironmentString():
             venvName = "<project>"
-        CycloneDXInterface.createCycloneDXFile(venvName)
+        CycloneDXInterface.createCycloneDXFile(venvName, parent=self)
 
     ##################################################################
     ## Interface to preferences

eric ide

mercurial