Skip to content

Commit

Permalink
Don't show on initial dialog that the Batik download failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ahus1 committed Nov 6, 2024
1 parent 9d3e21c commit e7e3125
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public void setAsciiDocPreviewSettings(@NotNull AsciiDocPreviewSettings settings
myDownloadDependenciesFailedDitaamini.setVisible(true);
}
if (!AsciiDocDownloaderUtil.getAsciidoctorJDiagramBatikFile().exists()) {
myDownloadDependenciesFailedDitaamini.setVisible(true);
myDownloadDependenciesFailedBatik.setVisible(true);
}
if (!AsciiDocDownloaderUtil.downloadCompleteAsciidoctorJPdf()) {
myDownloadDependenciesFailedPdf.setVisible(true);
Expand Down Expand Up @@ -349,6 +349,7 @@ public void setAsciiDocPreviewSettings(@NotNull AsciiDocPreviewSettings settings
myDownloadDependenciesFailedDiagram.setVisible(false);
myDownloadDependenciesFailedPlantuml.setVisible(false);
myDownloadDependenciesFailedDitaamini.setVisible(false);
myDownloadDependenciesFailedBatik.setVisible(false);
myDownloadDependenciesFailedPdf.setVisible(false);
}

Expand Down

0 comments on commit e7e3125

Please sign in to comment.