eric6/Project/PropertiesDialog.py

changeset 7759
51aa6c6b66f7
parent 7533
88261c96484b
child 7780
41420f82c0ac
diff -r dd54d33d21d2 -r 51aa6c6b66f7 eric6/Project/PropertiesDialog.py
--- a/eric6/Project/PropertiesDialog.py	Mon Oct 05 19:51:55 2020 +0200
+++ b/eric6/Project/PropertiesDialog.py	Tue Oct 06 17:52:44 2020 +0200
@@ -181,7 +181,7 @@
             from .SpellingPropertiesDialog import SpellingPropertiesDialog
             self.spellPropertiesDlg = SpellingPropertiesDialog(
                 self.project, self.newProject, self)
-        res = self.spellPropertiesDlg.exec_()
+        res = self.spellPropertiesDlg.exec()
         if res == QDialog.Rejected:
             self.spellPropertiesDlg.initDialog()  # reset the dialogs contents
     
@@ -198,7 +198,7 @@
                 self.project, self.newProject, self)
         else:
             self.transPropertiesDlg.initFilters()
-        res = self.transPropertiesDlg.exec_()
+        res = self.transPropertiesDlg.exec()
         if res == QDialog.Rejected:
             self.transPropertiesDlg.initDialog()  # reset the dialogs contents
     
@@ -211,7 +211,7 @@
             from .MakePropertiesDialog import MakePropertiesDialog
             self.makePropertiesDlg = MakePropertiesDialog(
                 self.project, self.newProject, self)
-        res = self.makePropertiesDlg.exec_()
+        res = self.makePropertiesDlg.exec()
         if res == QDialog.Rejected:
             self.makePropertiesDlg.initDialog()
     
@@ -252,7 +252,7 @@
         from VCS.RepositoryInfoDialog import VcsRepositoryInfoDialog
         info = self.project.vcs.vcsRepositoryInfos(self.project.ppath)
         dlg = VcsRepositoryInfoDialog(self, info)
-        dlg.exec_()
+        dlg.exec()
     
     def getProjectType(self):
         """

eric ide

mercurial