summaryrefslogtreecommitdiffstats
path: root/src/qalculateeditdatasetdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qalculateeditdatasetdialog.cpp')
-rw-r--r--src/qalculateeditdatasetdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qalculateeditdatasetdialog.cpp b/src/qalculateeditdatasetdialog.cpp
index 8ec9887..aa98420 100644
--- a/src/qalculateeditdatasetdialog.cpp
+++ b/src/qalculateeditdatasetdialog.cpp
@@ -326,9 +326,9 @@ DataSet *QalculateEditDataSetDialog::editDataSet(DataSet *ds) {
copyrightEdit->clear();
nameEdit->setReadOnly(false);
actionButton(Ok)->setEnabled(true);
- newPropertyButton->setEnabled(TRUE);
- editPropertyButton->setEnabled(FALSE);
- deletePropertyButton->setEnabled(FALSE);
+ newPropertyButton->setEnabled(true);
+ editPropertyButton->setEnabled(false);
+ deletePropertyButton->setEnabled(false);
if(ds) {
//fill in original paramaters
set_name_label_and_entry(ds, nameEdit, namesLabel);