[#2531] Don't close edit sim dialog after plotting or exporting

This commit is contained in:
SiboVG 2024-08-12 21:12:28 +02:00
parent 42f38ad749
commit 6e247b273d

View File

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