[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Thu Oct 2 07:52:08 CEST 2003


CVS commit by staikos: 

Allow the removal of error bars

CCMAIL: 65340-done at 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();
 }




More information about the Kst mailing list