[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Wed Nov 10 12:00:57 CET 2004


CVS commit by staikos: 

crash fix from hfi branch


  M +3 -6      datawizard.ui.h   1.97


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.96:1.97
@@ -15,9 +15,4 @@ void DataWizard::init()
     QString default_source = KST::vectorDefaults.dataSource();
     _url->setMode(KFile::File | KFile::Directory | KFile::ExistingOnly | KFile::LocalOnly);
-    _url->setURL(default_source);
-    _url->completionObject()->setDir(QDir::currentDirPath());
-
-    sourceChanged(default_source);
-
     setAppropriate(_pageFilters, false);
     setIcon(BarIcon("kst_datawizard"));
@@ -28,5 +23,5 @@ void DataWizard::init()
     _newWindowName->setText(defaultTag);
 
-    //setNextEnabled(_pageDataSource, false);
+    setNextEnabled(_pageDataSource, false);
     setNextEnabled(_pageVectors, false);
     setNextEnabled(_pageFilters, true);
@@ -43,4 +38,6 @@ void DataWizard::init()
     _newFilter->setEnabled(false);
     _newFilter->hide(); // FIXME: implement this
+    _url->setURL(default_source);
+    _url->completionObject()->setDir(QDir::currentDirPath());
     _url->setFocus();
 }





More information about the Kst mailing list