src/eric7/Project/PropertiesDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10632
1109854f15f9
child 11019
27cd57e98461
child 11040
a4fd43ac7923
diff -r b918c6c2736b -r a671918232f3 src/eric7/Project/PropertiesDialog.py
--- a/src/eric7/Project/PropertiesDialog.py	Fri Oct 25 09:47:48 2024 +0200
+++ b/src/eric7/Project/PropertiesDialog.py	Fri Oct 25 17:58:59 2024 +0200
@@ -351,7 +351,7 @@
 
         if self.spellPropertiesDlg is None:
             self.spellPropertiesDlg = SpellingPropertiesDialog(
-                self.project, self.newProject, self
+                self.project, self.newProject, parent=self
             )
         res = self.spellPropertiesDlg.exec()
         if res == QDialog.DialogCode.Rejected:
@@ -366,7 +366,10 @@
 
         if self.transPropertiesDlg is None:
             self.transPropertiesDlg = TranslationPropertiesDialog(
-                self.project, self.newProject, self, isRemote=self.__remoteProject
+                self.project,
+                self.newProject,
+                parent=self,
+                isRemote=self.__remoteProject,
             )
         else:
             self.transPropertiesDlg.initFilters()
@@ -383,7 +386,7 @@
 
         if self.makePropertiesDlg is None:
             self.makePropertiesDlg = MakePropertiesDialog(
-                self.project, self.newProject, self
+                self.project, self.newProject, parent=self
             )
         res = self.makePropertiesDlg.exec()
         if res == QDialog.DialogCode.Rejected:
@@ -435,7 +438,7 @@
             return
 
         info = self.project.vcs.vcsRepositoryInfos(self.project.ppath)
-        dlg = VcsRepositoryInfoDialog(self, info)
+        dlg = VcsRepositoryInfoDialog(parent=self, info=info)
         dlg.exec()
 
     def getProjectType(self):
@@ -510,7 +513,7 @@
                     self.getProjectType(),
                 )
 
-        dlg = FiletypeAssociationDialog(self.project, self.__fileTypesDict)
+        dlg = FiletypeAssociationDialog(self.project, self.__fileTypesDict, parent=self)
         if dlg.exec() == QDialog.DialogCode.Accepted:
             self.__fileTypesDict = dlg.getData()
 

eric ide

mercurial