src/toolsets/basictoolset.cpp

changeset 1017
fc1c13db9618
parent 1014
f0a8ecb6a357
child 1023
9450ac3cd930
--- a/src/toolsets/basictoolset.cpp	Sat Feb 13 04:14:43 2016 +0200
+++ b/src/toolsets/basictoolset.cpp	Sun Feb 14 03:19:28 2016 +0200
@@ -77,7 +77,7 @@
 	for (QString line : clipboardText.split ("\n"))
 	{
 		LDObject* pasted = ParseLine (line);
-		currentDocument()->insertObj (idx++, pasted);
+		currentDocument()->insertObject (idx++, pasted);
 		pasted->select();
 		++num;
 	}
@@ -111,7 +111,7 @@
 				QString line = inlineobj->asText();
 				inlineobj->destroy();
 				LDObject* newobj = ParseLine (line);
-				currentDocument()->insertObj (idx++, newobj);
+				currentDocument()->insertObject (idx++, newobj);
 				newobj->select();
 			}
 	
@@ -185,7 +185,7 @@
 	{
 		LDObject* obj = ParseLine (line);
 
-		currentDocument()->insertObj (idx, obj);
+		currentDocument()->insertObject (idx, obj);
 		obj->select();
 		idx++;
 	}

mercurial