Sun, 07 Jul 2013 23:22:28 +0300
fixed: double-clicking an object and editing it that way would not register to history
src/gldraw.cpp | file | annotate | diff | comparison | revisions |
--- a/src/gldraw.cpp Sun Jul 07 23:17:17 2013 +0300 +++ b/src/gldraw.cpp Sun Jul 07 23:22:28 2013 +0300 @@ -1605,8 +1605,10 @@ if (g_win->sel ().size () == 0) return; - LDObject* obj = g_win->sel ()[0]; + file()->openHistory(); + LDObject* obj = g_win->sel()[0]; AddObjectDialog::staticDialog (obj->getType (), obj); + file()->closeHistory(); ev->accept (); }