[Kst] kdeextragear-2/kst/kst

Andrew Walker arwalker at sumusltd.com
Thu Apr 15 18:54:29 CEST 2004


CVS commit by arwalker: 

Prevent stray curves from remaining after we do File...New


  M +4 -0      kstdoc.cpp   1.65


--- kdeextragear-2/kst/kst/kstdoc.cpp  #1.64:1.65
@@ -412,4 +412,8 @@ void KstDoc::deleteContents() {
   KST::dataSourceList.clear();
   KST::dataSourceList.lock().writeUnlock();
+  
+  KST::dataObjectList.lock().writeLock();
+  KST::dataObjectList.clear();
+  KST::dataObjectList.lock().writeUnlock();
 }
 





More information about the Kst mailing list