adds a cancel button to the test case editor, closes #485

This commit is contained in:
hneemann 2020-06-28 11:49:51 +02:00
parent 0eb7902f1b
commit a07040b152

View File

@ -91,6 +91,13 @@ public class TestCaseDescriptionDialog extends JDialog {
}.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) {
buttons.add(new ToolTipAction(Lang.get("menu_runTests")) {
@Override