src/toolsets/basictoolset.cpp

changeset 1011
4fdd74a04790
parent 1006
a6b462051ae0
child 1014
f0a8ecb6a357
child 1217
314e12e23c3a
--- a/src/toolsets/basictoolset.cpp	Sun Oct 04 22:54:17 2015 +0300
+++ b/src/toolsets/basictoolset.cpp	Sat Oct 24 13:19:27 2015 +0300
@@ -95,7 +95,7 @@
 
 void BasicToolset::doInline (bool deep)
 {
-	for (LDSubfile* ref : filterByType<LDSubfile> (selectedObjects()))
+	for (LDSubfileReference* ref : filterByType<LDSubfileReference> (selectedObjects()))
 	{
 		// Get the index of the subfile so we know where to insert the
 		// inlined contents.
@@ -225,7 +225,7 @@
 
 void BasicToolset::newSubfile()
 {
-	AddObjectDialog::staticDialog (OBJ_Subfile, nullptr);
+	AddObjectDialog::staticDialog (OBJ_SubfileReference, nullptr);
 }
 
 void BasicToolset::newLine()

mercurial