From af4ec1763112cacabb207be5810132bf09d5ba41 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 11 Nov 2009 17:02:19 +0300 Subject: [PATCH] remove incorrect EDT check --- .../intellij/openapi/vcs/impl/LineStatusTrackerManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.java index f183b6b13503..5ce376ef357b 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.java @@ -368,7 +368,8 @@ public class LineStatusTrackerManager implements ProjectComponent { private class MyEditorFactoryListener extends EditorFactoryAdapter { public void editorCreated(EditorFactoryEvent event) { - trackAwtThread(); + // note that in case of lazy loading of configurables, this event can happen + // outside of EDT, so the EDT check mustn't be done here Editor editor = event.getEditor(); if (editor.getProject() != null && editor.getProject() != myProject) return; Document document = editor.getDocument();