[Kst] branches/work/kst/portto4/kst

Barth Netterfield netterfield at astro.utoronto.ca
Tue May 26 16:13:42 CEST 2009


SVN commit 973178 by netterfield:

Fix color selection bug in data wizard.



 M  +7 -0      devel-docs/Kst2Specs/FixedBugs  
 M  +0 -7      devel-docs/Kst2Specs/Wishlist  
 M  +1 -1      src/libkstapp/datawizard.cpp  


--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/FixedBugs #973177:973178
@@ -658,3 +658,10 @@
 saved the tedious click-on-curve, click-arrow-button,
 click-on-next-curve, click-on-arrow-button 
 
+---------
+
+A spectrum curve created with the data wizard should have
+the same color as a XY curve simultaneously created from the
+same data field.  ie, if the XY curve of [sine] is red, the spectrum
+curve of [sine] should also be red.
+
--- branches/work/kst/portto4/kst/devel-docs/Kst2Specs/Wishlist #973177:973178
@@ -63,10 +63,3 @@
 is live, and the button clears the selection.  There is no way to combine the options.
   Better: a file text entry and a regexp text entry, an apply filters button, and an 'and/or' radio pair.
 
----------
-
-A spectrum curve created with the data wizard should have
-the same color as a XY curve simultaneously created from the
-same data field.  ie, if the XY curve of [sine] is red, the spectrum
-curve of [sine] should also be red.
-
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #973177:973178
@@ -858,7 +858,7 @@
         curve->setLineWidth(Settings::globalSettings()->defaultLineWeight);
         curve->setPointType(ptype++ % KSTPOINT_MAXTYPE);
 
-        if (_pageDataPresentation->plotPSD() || colors.count() <= indexColor) {
+        if (!_pageDataPresentation->plotDataPSD() || colors.count() <= indexColor) {
           color = ColorSequence::next();
         } else {
           color = colors[indexColor];


More information about the Kst mailing list