diff sv/main/MainWindow.cpp @ 175:9c2400251179

add reset() function to Document to be able in the same session to load different track keeping the same filters enabled
author lbajardsilogic
date Wed, 21 Nov 2007 10:55:26 +0000
parents 1b8f08375391
children 59a64b19565a
line wrap: on
line diff
--- a/sv/main/MainWindow.cpp	Wed Nov 21 09:00:39 2007 +0000
+++ b/sv/main/MainWindow.cpp	Wed Nov 21 10:55:26 2007 +0000
@@ -5401,9 +5401,9 @@
 		i--;
     }
 
-	delete m_document;
+	m_document->reset();
     
-	createDocument();
+	//createDocument();
 	Pane *pane = m_paneStack->getCurrentPane();
 
     if (!m_timeRulerLayer) {