Don't close config dialog if cancel no option selected
This commit is contained in:
parent
75f1ab0cfb
commit
7ea17b01d2
@ -290,8 +290,8 @@ public class RocketComponentConfig extends JPanel {
|
||||
JPanel msg = createCancelOperationContent();
|
||||
int resultYesNo = JOptionPane.showConfirmDialog(RocketComponentConfig.this, msg,
|
||||
trans.get("RocketCompCfg.CancelOperation.title"), JOptionPane.YES_NO_OPTION, JOptionPane.WARNING_MESSAGE);
|
||||
ComponentConfigDialog.disposeDialog();
|
||||
if (resultYesNo == JOptionPane.YES_OPTION) {
|
||||
ComponentConfigDialog.disposeDialog();
|
||||
document.undo();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user