Mon, 10 Mar 2014 01:16:00 +0200
- objects need to be compiled when added to the document
src/Document.cc | file | annotate | diff | comparison | revisions |
--- a/src/Document.cc Mon Mar 10 01:02:51 2014 +0200 +++ b/src/Document.cc Mon Mar 10 01:16:00 2014 +0200 @@ -1072,6 +1072,7 @@ #endif obj->setDocument (this); + g_win->R()->compileObject (obj); return getObjectCount() - 1; } @@ -1091,6 +1092,7 @@ history()->add (new AddHistory (pos, obj)); m_objects.insert (pos, obj); obj->setDocument (this); + g_win->R()->compileObject (obj); #ifdef DEBUG if (!isImplicit())