Merge remote-tracking branch 'origin/GP-628-dragonmacher-dialog-issues'

(fixes #2398, #2480)
This commit is contained in:
ghidra1 2021-02-16 13:02:28 -05:00
commit 0d01b72af9
29 changed files with 303 additions and 195 deletions

View file

@ -68,10 +68,16 @@ public class WrappingTaskMonitor implements TaskMonitor {
delegate.removeCancelledListener(l);
}
newDelegate.initialize(delegate.getMaximum());
if (delegate.isIndeterminate()) {
newDelegate.setIndeterminate(true);
}
else {
newDelegate.setIndeterminate(false);
newDelegate.initialize(delegate.getMaximum());
}
newDelegate.setProgress(delegate.getProgress());
newDelegate.setMessage(delegate.getMessage());
newDelegate.setIndeterminate(delegate.isIndeterminate());
newDelegate.setCancelEnabled(delegate.isCancelEnabled());
this.delegate = newDelegate;