Merge pull request #2534 from SiboVG/issue-2531

[#2531] Don't close edit sim dialog after plotting or exporting
This commit is contained in:
Sibo Van Gool 2024-08-14 12:34:20 +02:00 committed by GitHub
commit 79a2998ae2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -372,12 +372,13 @@ public class SimulationConfigDialog extends JDialog {
if (plot != null) {
plot.setVisible(true);
}
closeDialog();
return;
} else if (tabIdx == EXPORT_IDX) {
if (exportTab == null || exportTab.doExport()) {
if (exportTab == null) {
closeDialog();
return;
}
exportTab.doExport();
return;
}