Bug 93765 - data wizard adds psd to curve plots in certain cases
Summary: data wizard adds psd to curve plots in certain cases
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Netterfield
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 02:45 UTC by Netterfield
Modified: 2004-11-23 03:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
wizardcycle.patch (783 bytes, text/x-diff)
2004-11-23 02:58 UTC, Netterfield
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Netterfield 2004-11-23 02:45:37 UTC
Version:           1.0.0_pre1 (using KDE 3.3.1, Gentoo)
Compiler:          gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
OS:                Linux (i686) release 2.6.8-gentoo-r3

from the data wizard load 6 vectors
select curves and psds
select Cycle through 3 plots

The curve plots have both the curves and the last 3 psds.
The psd plots have just the first 3 psds.
Comment 1 Netterfield 2004-11-23 02:58:51 UTC
Attached is the fix.



Created an attachment (id=8388)
wizardcycle.patch
Comment 2 Netterfield 2004-11-23 03:14:18 UTC
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..."));
     }