zz_setContentsDialog.cpp

changeset 117
7eb7a43a511b
parent 116
4fde8fdf258a
child 125
7ee7aa5e28be
--- a/zz_setContentsDialog.cpp	Wed Apr 17 14:09:38 2013 +0300
+++ b/zz_setContentsDialog.cpp	Fri Apr 19 15:21:46 2013 +0300
@@ -97,8 +97,8 @@
 	
 	// Mark down the history now before we perform the replacement (which
 	// destroys the old object)
-	History::addEntry (new SetContentsHistory (oldobj->getIndex (g_CurrentFile),
-		oldobj->clone (), obj->clone ()));
+	History::addEntry (new EditHistory ({oldobj->getIndex (g_CurrentFile)},
+		{oldobj->clone ()}, {obj->clone ()}));
 	
 	oldobj->replace (obj);
 	

mercurial