src/addObjectDialog.cpp

changeset 388
7ff483614aa1
parent 384
f4622b79133d
child 402
ec95fc95e5f3
equal deleted inserted replaced
387:248296088f2c 388:7ff483614aa1
396 if (obj->isColored ()) 396 if (obj->isColored ())
397 obj->setColor (dlg.colnum); 397 obj->setColor (dlg.colnum);
398 398
399 if (newObject) { 399 if (newObject) {
400 ulong idx = g_win->getInsertionPoint (); 400 ulong idx = g_win->getInsertionPoint ();
401 currentFile()->insertObj (idx, obj); 401 LDOpenFile::current()->insertObj (idx, obj);
402 } 402 }
403 403
404 g_win->fullRefresh (); 404 g_win->fullRefresh ();
405 } 405 }

mercurial