mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] resets "submitting" flag if exception reporting does not start
This commit is contained in:
@@ -600,11 +600,14 @@ public class IdeErrorsDialog extends DialogWrapper implements MessagePoolListene
|
||||
parentComponent = frame != null ? frame.getComponent() : WindowManager.getInstance().findVisibleFrame();
|
||||
}
|
||||
|
||||
return submitter.submit(events, message.getAdditionalInfo(), parentComponent, reportInfo -> {
|
||||
message.setSubmitting(false);
|
||||
boolean accepted = submitter.submit(events, message.getAdditionalInfo(), parentComponent, reportInfo -> {
|
||||
message.setSubmitted(reportInfo);
|
||||
UIUtil.invokeLaterIfNeeded(() -> updateOnSubmit());
|
||||
});
|
||||
if (!accepted) {
|
||||
message.setSubmitting(false);
|
||||
}
|
||||
return accepted;
|
||||
}
|
||||
|
||||
private void disablePlugin() {
|
||||
|
||||
Reference in New Issue
Block a user