[Kst] [Bug 85214] data wizard doesn't remember X vector used last time

George Staikos staikos at kde.org
Sat Jul 24 07:33:53 CEST 2004


------- 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=85214      
staikos kde org changed:

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



------- Additional Comments From staikos kde org  2004-07-24 07:33 -------
CVS commit by staikos: 

remember the previous X vector
CCMAIL: 85214-done bugs kde org


  M +7 -1      datawizard.ui.h   1.62


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.61:1.62
 @ -120,4 +120,9  @ void DataWizard::sourceChanged( const QS
                 new QCheckListItem(_vectors, *it, QCheckListItem::CheckBox);
             }
+            KST::vectorDefaults.sync();
+            QString defaultX = KST::vectorDefaults.wizardXVector();
+            if (defaultX == "INDEX" || fl.contains(defaultX)) {
+                _xVector->setCurrentText(defaultX);
+            }
         }
     } else if (!_ds) {
 @ -157,5 +162,6  @ void DataWizard::showPage( QWidget *page
         }
     } else if (page == _pagePlot) {
-
+        KST::vectorDefaults.setWizardXVector(_xVector->currentText());
+        KST::vectorDefaults.sync();
         if (!_filterList->currentText().isEmpty() && (!_filter || _filter->name() != _filterList->currentText())) {
             _filter = KST::filterSetList.find(_filterList->currentText());



More information about the Kst mailing list