Version: 0.92 (using KDE KDE 3.1) Installed from: Compiled From Sources Compiler: gcc OS: Linux Setps to reproduce: * Start KST with test data. e.g. kst -y 1 -n 10000 boom.dat * Right click on the plot and select Edit Curve -> C1-1 * Click on the drop down box to the right of Y error bar: and select V1-Index * Click on Apply Edits * Click on the drop down box to the right of Y error bar: and select None * Click on Apply Edits Expected results: Should now have a plot displaying no y-error bars Actual results: The error bars are still present
Subject: kdeextragear-2/kst/kst CVS commit by staikos: Allow the removal of error bars CCMAIL: 65340-done@bugs.kde.org M +2 -4 kstcurvedialog_i.cpp 1.29 M +1 -2 ksteqdialog_i.cpp 1.32 --- kdeextragear-2/kst/kst/kstcurvedialog_i.cpp #1.28:1.29 @@ -283,9 +283,7 @@ void KstCurveDialogI::edit_I() { i = KST::vectorList.findTag(_xError->selectedVector()); - if (i != KST::vectorList.end()) curve->setXError(*i); i = KST::vectorList.findTag(_yError->selectedVector()); - if (i != KST::vectorList.end()) curve->setYError(*i); } --- kdeextragear-2/kst/kst/ksteqdialog_i.cpp #1.31:1.32 @@ -218,5 +218,5 @@ void KstEqDialogI::new_I() { n = N->value(); if (n < 2) { - KMessageBox::sorry(0L, i18n("The equation must be evaluated at more than 1 point. Increase Num Samples.")); + KMessageBox::sorry(0L, i18n("The equation must be evaluated at more than 1 point. Increase the number of samples.")); return; } @@ -362,5 +362,4 @@ void KstEqDialogI::delete_I() { KST::dataObjectList.removeTag(tag); - // FIXME: don't allow this if the equation is in use by a curve emit modified(); }