[Kst] [Bug 65340] Unable to remove Y error bar

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


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65340     
staikos at kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos at kde.org  2003-10-02 07:26 -------
Subject: kdeextragear-2/kst/kst

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