--- 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 = [