--- 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()