diff -r 10e60ae9ed58 -r f4622b79133d src/gldraw.cpp --- a/src/gldraw.cpp Mon Jul 15 20:45:26 2013 +0300 +++ b/src/gldraw.cpp Mon Jul 15 22:07:49 2013 +0300 @@ -1287,11 +1287,11 @@ } if (obj) { - file()->openHistory(); + g_win->beginAction (null); file()->addObject (obj); compileObject (obj); g_win->fullRefresh(); - file()->closeHistory(); + g_win->endAction(); } m_drawedVerts.clear(); @@ -1598,10 +1598,10 @@ if (g_win->sel().size() == 0) return; - file()->openHistory(); + g_win->beginAction (null); LDObject* obj = g_win->sel()[0]; AddObjectDialog::staticDialog (obj->getType(), obj); - file()->closeHistory(); + g_win->endAction(); ev->accept(); }