src/eric7/MultiProject/AddProjectDialog.py

branch
eric7
changeset 9971
773ad1f1ed22
parent 9653
e67609152c5e
child 10410
da82156f44e9
--- a/src/eric7/MultiProject/AddProjectDialog.py	Tue Apr 04 17:26:54 2023 +0200
+++ b/src/eric7/MultiProject/AddProjectDialog.py	Wed Apr 05 11:58:22 2023 +0200
@@ -69,7 +69,7 @@
             self.nameEdit.setText(project["name"])
             self.filenamePicker.setText(project["file"])
             self.descriptionEdit.setPlainText(project["description"])
-            self.masterCheckBox.setChecked(project["master"])
+            self.mainCheckBox.setChecked(project["master"])
             index = self.categoryComboBox.findText(project["category"])
             if index == -1:
                 index = 0
@@ -80,10 +80,10 @@
         """
         Public slot to retrieve the dialogs data.
 
-        @return tuple of five values (string, string, boolean, string, string)
-            giving the project name, the name of the project file, a flag
-            telling whether the project shall be the main project, a short
+        @return tuple of five values giving the project name, the name of the project
+            file, a flag telling whether the project shall be the main project, a short
             description for the project and the project category
+        @rtype tuple of (str, str, bool, str, str)
         """
         if not self.uid:
             # new project entry
@@ -97,7 +97,7 @@
         return (
             self.nameEdit.text(),
             filename,
-            self.masterCheckBox.isChecked(),
+            self.mainCheckBox.isChecked(),
             self.descriptionEdit.toPlainText(),
             self.categoryComboBox.currentText(),
             self.uid,
@@ -108,7 +108,8 @@
         """
         Private slot called when the project name has changed.
 
-        @param txt text of the edit (string)
+        @param txt text of the edit
+        @type str
         """
         self.__updateUi()
 
@@ -117,7 +118,8 @@
         """
         Private slot called when the project filename has changed.
 
-        @param txt text of the edit (string)
+        @param txt text of the edit
+        @type str
         """
         self.__updateUi()
 

eric ide

mercurial