[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Sun Jun 1 22:30:10 CEST 2003


CVS commit by staikos: 

- kstscalarlist.cpp is no longer needed
- fix a bug in kstcurvedialog where it didn't plot in an existing plot AND
  in a separate plot


  M +0 -2      Makefile.am   1.24
  M +5 -4      kstcurvedialog_i.cpp   1.8
  R            kstscalarlist.cpp   1.4


--- kdeextragear-2/kst/kst/Makefile.am  #1.23:1.24
@@ -20,5 +20,4 @@
         kstrvector.cpp \
         kstscalar.cpp \
-        kstscalarlist.cpp \
         kstvectorlist.cpp \
         kstrvectorlist.cpp \
@@ -98,5 +97,4 @@
         pluginmanager.ui \
         kstscalar.cpp \
-        kstscalarlist.cpp \
         main.cpp
 

--- kdeextragear-2/kst/kst/kstcurvedialog_i.cpp  #1.7:1.8
@@ -319,15 +319,16 @@ void KstCurveDialogI::new_I() {
   curve->Point.setType(PointCombo->currentItem());
 
-  if (InNewPlot->isChecked()) {
-    addPlot();
+  if (InPlot->isChecked()) {
     /* assign curve to plot */
     plot = doc->plotList.FindKstPlot(PlotList->currentText());
     plot->addCurve(curve);
-    plot->GenerateDefaultLabels();
   }
-  if (InPlot->isChecked()) {
+
+  if (InNewPlot->isChecked()) {
+    addPlot();
     /* assign curve to plot */
     plot = doc->plotList.FindKstPlot(PlotList->currentText());
     plot->addCurve(curve);
+    plot->GenerateDefaultLabels();
   }
 




More information about the Kst mailing list