We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b72ca3 commit 8783f0bCopy full SHA for 8783f0b
src/main/java/sc/fiji/analyzeSkeleton/AnalyzeSkeleton_.java
@@ -365,7 +365,8 @@ public void run(ImageProcessor ip)
365
/** Disables dialog components that are irrelevant to GUI-based analysis. */
366
public boolean dialogItemChanged(GenericDialog gd, AWTEvent e)
367
{
368
- if (this.imRef.getRoi()==null)
+ if ( this.imRef.getRoi() == null && null != gd
369
+ && null != gd.getCheckboxes() )
370
371
Checkbox roiOption = (Checkbox)gd.getCheckboxes().elementAt(1);
372
roiOption.setEnabled(false);
0 commit comments