Fixed bug in ROI descriptor computation to avoid error report on interruption

parent 461ff2bb
......@@ -678,8 +678,8 @@ public abstract class AbstractRoisPanel extends ExternalizablePanel
}
catch (Throwable t)
{
// not an UnsupportedOperationException --> show the error
if (!(t instanceof UnsupportedOperationException))
// not UnsupportedOperationException or InterruptedException ? --> show the error
if (!(t instanceof UnsupportedOperationException) && !(t instanceof InterruptedException))
IcyExceptionHandler.handleException(t, true);
final List<ROIDescriptor> descriptors = plugin.getDescriptors();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment