[ImageJ-bugs] [Bug 952] Return value of IJ.showMessageWithCancel() is ignored in macros
bugzilla at fiji.sc
bugzilla at fiji.sc
Mon Nov 17 16:02:13 CST 2014
http://fiji.sc/bugzilla/show_bug.cgi?id=952
Curtis Rueden <ctrueden at wisc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CONFIRMED
CC| |ctrueden at wisc.edu
--- Comment #1 from Curtis Rueden <ctrueden at wisc.edu> ---
I debugged into it, but I have to admit I have no idea how this works.
Eventually, the ImageJ 1.x code resolves down to:
https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L120
Which does:
https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/macro/Functions.java#L1636
Which is this:
https://github.com/imagej/ImageJA/blob/v1.49k/src/main/java/ij/IJ.java#L639-L644
Maybe there is something clever in GenericDialog that cancels macros, but
doesn't work with the ImageJ2-script-language version of the macro support...
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20141117/352da907/attachment.html>
More information about the Imagej-bugs
mailing list