--- a/src/ldDocument.cc Thu Apr 24 02:08:53 2014 +0300 +++ b/src/ldDocument.cc Sun Apr 27 03:51:10 2014 +0300 @@ -1399,8 +1399,8 @@ g_win->updateDocumentListItem (f); g_win->buildObjList(); g_win->updateTitle(); + g_win->R()->compiler()->needMerge(); g_win->R()->setDocument (f); - g_win->R()->compiler()->needMerge(); print ("Changed file to %1", f->getDisplayName()); } }