[Kst] extragear/graphics/kst/kst

Rick Chern rchern at interchange.ubc.ca
Wed Jun 22 00:48:14 CEST 2005


SVN commit 427811 by rchern:

Update "next" button properly when plot type is changed in datawizard

 M  +6 -0      datawizard.ui.h  


--- trunk/extragear/graphics/kst/kst/datawizard.ui.h #427810:427811
@@ -63,6 +63,10 @@
 
 bool DataWizard::xVectorOk()
 {
+  if (!_xAxisGroup->isEnabled()) {
+    return true;
+  }
+  
   if (_xAxisCreateFromField->isChecked()) {
     QString txt = _xVector->currentText();
     for (int i = 0; i < _xVector->count(); ++i) {
@@ -892,12 +896,14 @@
 void DataWizard::enableXEntries()
 {
     _xAxisGroup->setEnabled(true);
+    xChanged();
 }
 
 
 void DataWizard::disableXEntries()
 {
     _xAxisGroup->setEnabled(false);
+    xChanged();
 }
 
 


More information about the Kst mailing list