src/actions.cc

changeset 795
195fa1fff9c3
parent 789
4b7306f52bb5
child 806
4240f47aa2d4
--- a/src/actions.cc	Thu Jun 05 23:18:13 2014 +0300
+++ b/src/actions.cc	Sat Jun 14 09:05:29 2014 +0300
@@ -299,7 +299,7 @@
 	if (selection().isEmpty())
 		return;
 
-	QList<int> colors;
+	QList<LDColor> colors;
 
 	for (LDObjectPtr obj : selection())
 	{
@@ -869,7 +869,7 @@
 
 		// Add a reference to the new subfile to where the selection was
 		LDSubfilePtr ref (spawn<LDSubfile>());
-		ref->setColor (maincolor);
+		ref->setColor (maincolor());
 		ref->setFileInfo (doc);
 		ref->setPosition (g_origin);
 		ref->setTransform (g_identity);

mercurial