src/gldraw.cc

changeset 587
507e5d5c348c
parent 581
c57ddcaf1b58
child 590
7aec744ce97b
--- a/src/gldraw.cc	Sun Dec 22 20:46:46 2013 +0200
+++ b/src/gldraw.cc	Mon Dec 23 10:57:54 2013 +0200
@@ -1526,9 +1526,7 @@
 	}
 
 	if (objs.size() > 0)
-	{	g_win->beginAction (null);
-
-		for (LDObject* obj : objs)
+	{	for (LDObject* obj : objs)
 		{	getFile()->addObject (obj);
 			compileObject (obj);
 		}
@@ -1901,7 +1899,6 @@
 	if (selection().isEmpty())
 		return;
 
-	g_win->beginAction (null);
 	LDObject* obj = selection().first();
 	AddObjectDialog::staticDialog (obj->getType(), obj);
 	g_win->endAction();

mercurial