mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-12 14:26:09 -04:00
adds a cancel button to the test case editor, closes #485
This commit is contained in:
parent
0eb7902f1b
commit
a07040b152
@ -91,6 +91,13 @@ public class TestCaseDescriptionDialog extends JDialog {
|
|||||||
}.setToolTip(Lang.get("btn_addTransitions_tt")).createJButton());
|
}.setToolTip(Lang.get("btn_addTransitions_tt")).createJButton());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
buttons.add(new ToolTipAction(Lang.get("cancel")) {
|
||||||
|
@Override
|
||||||
|
public void actionPerformed(ActionEvent actionEvent) {
|
||||||
|
dispose();
|
||||||
|
}
|
||||||
|
}.createJButton());
|
||||||
|
|
||||||
if (element != null) {
|
if (element != null) {
|
||||||
buttons.add(new ToolTipAction(Lang.get("menu_runTests")) {
|
buttons.add(new ToolTipAction(Lang.get("menu_runTests")) {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user