IDEA-89440 Quick Documentation: if pinned doc window has been closed through Hide action, it opens automatically for the next clicked item

This commit is contained in:
Denis.Zhdanov
2012-08-01 12:42:03 +04:00
parent 0334898d21
commit f753e63f6b
@@ -174,7 +174,9 @@ public class DocumentationManager extends DockablePopupManager<DocumentationComp
}
public void setAllowContentUpdateFromContext(boolean allow) {
restartAutoUpdate(allow);
if (hasActiveDockedDocWindow()) {
restartAutoUpdate(allow);
}
}
public void showJavaDocInfoAtToolWindow(@NotNull PsiElement element, @NotNull PsiElement original) {