src/addObjectDialog.cpp

changeset 388
7ff483614aa1
parent 384
f4622b79133d
child 402
ec95fc95e5f3
--- a/src/addObjectDialog.cpp	Mon Jul 15 22:32:23 2013 +0300
+++ b/src/addObjectDialog.cpp	Tue Jul 16 01:33:11 2013 +0300
@@ -398,7 +398,7 @@
 	
 	if (newObject) {
 		ulong idx = g_win->getInsertionPoint ();
-		currentFile()->insertObj (idx, obj);
+		LDOpenFile::current()->insertObj (idx, obj);
 	}
 	
 	g_win->fullRefresh ();

mercurial