Project/PropertiesDialog.py

branch
make_support
changeset 6248
9458a3d45f27
parent 6243
528fbf120d68
child 6292
e08a94e1ecdd
diff -r 6499ccd42dd6 -r 9458a3d45f27 Project/PropertiesDialog.py
--- a/Project/PropertiesDialog.py	Fri Apr 13 19:57:02 2018 +0200
+++ b/Project/PropertiesDialog.py	Sat Apr 14 18:48:38 2018 +0200
@@ -116,6 +116,8 @@
                     self.tr("The project is not version controlled."))
                 self.vcsInfoButton.hide()
             self.vcsCheckBox.hide()
+            self.makeCheckBox.setChecked(
+                self.project.pdata["MAKEPARAMS"]["MakeEnabled"])
         else:
             self.languageComboBox.setCurrentIndex(
                 self.languageComboBox.findText("Python3"))
@@ -199,7 +201,6 @@
         Private slot to display the make properties dialog.
         """
         if self.makePropertiesDlg is None:
-            # TODO: add 'make' support - implement MakePropertiesDialog
             from .MakePropertiesDialog import MakePropertiesDialog
             self.makePropertiesDlg = \
                 MakePropertiesDialog(self.project, self.newProject, self)
@@ -304,5 +305,7 @@
         if self.transPropertiesDlg is not None:
             self.transPropertiesDlg.storeData()
         
+        self.project.pdata["MAKEPARAMS"]["MakeEnabled"] = \
+            self.makeCheckBox.isChecked()
         if self.makePropertiesDlg is not None:
             self.makePropertiesDlg.storeData()

eric ide

mercurial