GT-2841: askDomainFile now correctly throws CancelledException.

This commit is contained in:
Ryan Kurtz 2019-04-29 13:31:34 -04:00
parent a50c6e0843
commit 1ca783531f

View File

@ -2818,6 +2818,11 @@ public abstract class GhidraScript extends FlatProgramAPI {
Runnable r = () -> dtd.showComponent();
SystemUtilities.runSwingNow(r);
if (dtd.wasCancelled()) {
throw new CancelledException();
}
return ref.get();
});