src/addObjectDialog.cpp

changeset 1017
fc1c13db9618
parent 1016
3b279b5e57d3
child 1018
49358df9495b
equal deleted inserted replaced
1016:3b279b5e57d3 1017:fc1c13db9618
389 obj->setColor (dlg.m_color); 389 obj->setColor (dlg.m_color);
390 390
391 if (newObject) 391 if (newObject)
392 { 392 {
393 int idx = g_win->suggestInsertPoint(); 393 int idx = g_win->suggestInsertPoint();
394 g_win->currentDocument()->insertObj (idx, obj); 394 g_win->currentDocument()->insertObject (idx, obj);
395 } 395 }
396 396
397 g_win->refresh(); 397 g_win->refresh();
398 } 398 }

mercurial