synchronously refresh skeletons after generation (may help against PY-2990)

This commit is contained in:
Dmitry Jemerov
2011-03-13 16:46:05 +01:00
parent 7c8f22d294
commit 556c3b8bcc
@@ -533,7 +533,10 @@ public class PythonSdkType extends SdkType {
VirtualFile skeletonsVFile = LocalFileSystem.getInstance().refreshAndFindFileByPath(skeletonsPath);
assert skeletonsVFile != null;
skeletonsVFile.refresh(true, true);
if (indicator != null) {
indicator.setText("Reloading generated skeletons...");
}
skeletonsVFile.refresh(false, true);
}
private static String getSkeletonsPath(String bin_path) {