src/addObjectDialog.cpp

changeset 981
5d5d84ab2c48
parent 978
4603d8fd063e
child 984
a7b6f987d269
--- a/src/addObjectDialog.cpp	Sun Sep 06 01:22:25 2015 +0300
+++ b/src/addObjectDialog.cpp	Sun Sep 06 01:52:23 2015 +0300
@@ -389,7 +389,7 @@
 
 	if (newObject)
 	{
-		int idx = g_win->getInsertionPoint();
+		int idx = g_win->suggestInsertPoint();
 		g_win->currentDocument()->insertObj (idx, obj);
 	}
 

mercurial