[Kst] kdeextragear-2/kst/kst

Barth Netterfield netterfield at astro.utoronto.ca
Tue Nov 23 03:14:03 CET 2004


CVS commit by netterfield: 

Fix assignment of psds to plots....

BUG: 93765


  M +4 -0      datawizard.ui.h   1.99


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.98:1.99
@@ -695,4 +695,7 @@ void DataWizard::finished()
                 if (!_onePlot->isChecked()) { // change plots if we are not onePlot...
                     if (++pit == plots.end()) {
+                      if (_radioButtonPlotDataPSD->isChecked()) { // if xy and psd
+                        pit = plots.at(plots.count()/2);
+                      } else {
                         pit = plots.begin();
                     }
@@ -700,4 +703,5 @@ void DataWizard::finished()
             }
         }
+        }
         app->slotUpdateProgress(n_steps, ++prg, i18n("Creating PSDs..."));
     }





More information about the Kst mailing list