changeset 394:412082d5babc

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 19 Oct 2012 05:50:44 +0300
parents 5137db55f00b
children 530db8fa4569
files edmain.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/edmain.cpp	Fri Oct 19 05:50:11 2012 +0300
+++ b/edmain.cpp	Fri Oct 19 05:50:44 2012 +0300
@@ -367,8 +367,8 @@
 
 void DemoEditor::createNewFile()
 {
-    delete tl;
-    tl = new TimelineObject();
+    delete currTimeline;
+    currTimeline = new TimelineObject();
 
     update();
     historyReset();