Skip to content

Commit

Permalink
Custom Pages Initial zaproxy#6
Browse files Browse the repository at this point in the history
clearFields() should include discardAllEdits() on text field.
  • Loading branch information
kingthorin committed Sep 18, 2016
1 parent b7deb30 commit c564589
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ protected void performAction() {
@Override
protected void clearFields() {
this.contentTextField.setText("");
this.contentTextField.discardAllEdits();
this.enabledCheckBox.setSelected(true);
this.regexCheckBox.setSelected(false);
this.newCustomPageTypesCombo.setSelectedIndex(0);
Expand Down

0 comments on commit c564589

Please sign in to comment.