Skip to content

Commit

Permalink
Check for Null PDE
Browse files Browse the repository at this point in the history
  • Loading branch information
AvocadoMoon committed Oct 22, 2024
1 parent c0a6cfe commit 0ef077c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1710,7 +1710,7 @@ private void setFormatChoices_0(/*boolean bMembrane*/){
cb.addItem(ExportFormat.FORMAT_JPEG);
cb.addItem(ExportFormat.NRRD);

if (!(getPdeDataContext().getVCDataIdentifier() instanceof LocalVCDataIdentifier)){
if (getPdeDataContext() != null && !(getPdeDataContext().getVCDataIdentifier() instanceof LocalVCDataIdentifier)){
cb.addItem(ExportFormat.N5);
}
// cb.addItem(ExportFormat.IMAGEJ);
Expand Down

0 comments on commit 0ef077c

Please sign in to comment.