refresh the files being opened in editors

This commit is contained in:
peter
2015-03-28 11:04:33 +01:00
parent d6c0ebd4dc
commit 4c8a55248b
@@ -788,6 +788,7 @@ public class FileEditorManagerImpl extends FileEditorManagerEx implements Projec
final Boolean pin,
final int index) {
assert ApplicationManager.getApplication().isDispatchThread() || !ApplicationManager.getApplication().isReadAccessAllowed() : "must not open files under read action since we are doing a lot of invokeAndWaits here";
file.refresh(true, false);
final Ref<EditorWithProviderComposite> compositeRef = new Ref<EditorWithProviderComposite>();