[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Tue May 25 09:58:10 CEST 2004


CVS commit by staikos: 

I'm still trying to figure out why it's broken, but this fixes the big
crash I'm seeing


  M +5 -1      datawizard.ui.h   1.29


--- kdeextragear-2/kst/kst/datawizard.ui.h  #1.28:1.29
@@ -202,5 +202,9 @@ void DataWizard::updatePlotBox()
     }
 
-    Kst2DPlotList plots = v->view()->findChildrenType<Kst2DPlot>();
+    Kst2DPlotList plots;
+    if (v) {
+      plots += v->view()->findChildrenType<Kst2DPlot>();
+    }
+
     for (Kst2DPlotList::Iterator i = plots.begin(); i != plots.end(); ++i) {
       _existingPlotName->insertItem((*i)->tagName());





More information about the Kst mailing list