fileForDocumentCheckedOutSuccessfully #2

This commit is contained in:
Dmitry Avdeev
2009-09-16 13:28:22 +04:00
parent a6f9367c87
commit 78a47f83c1
@@ -54,7 +54,7 @@ public class PyUtil {
if (doc == null) {
return;
}
if (!FileDocumentManager.getInstance().fileForDocumentCheckedOutSuccessfully(doc, element.getProject())) {
if (!FileDocumentManager.getInstance().requestWriting(doc, element.getProject())) {
throw new IllegalStateException();
}
}