src/ldDocument.cc

changeset 735
54c321f4d102
parent 734
cdce1cbaac7e
child 737
e58bdb21cc54
--- 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());
 	}
 }

mercurial