Fixed: pasting would add objects in reverse order

Sat, 18 May 2013 21:36:01 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 18 May 2013 21:36:01 +0300
changeset 215
eab460199114
parent 214
28e0b37156be
child 216
c8882ff62d61

Fixed: pasting would add objects in reverse order

src/gui_editactions.cpp file | annotate | diff | comparison | revisions
--- a/src/gui_editactions.cpp	Sat May 18 21:35:55 2013 +0300
+++ b/src/gui_editactions.cpp	Sat May 18 21:36:01 2013 +0300
@@ -97,7 +97,7 @@
 		historyCopies.push_back (obj->clone ());
 		
 		LDObject* copy = obj->clone ();
-		g_curfile->insertObj (idx, copy);
+		g_curfile->insertObj (idx++, copy);
 		g_win->sel ().push_back (copy);
 	}
 	

mercurial