Skip to content

Commit

Permalink
UI: reset rule name when creating a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-iniguez-goya committed Jun 19, 2020
1 parent e217ded commit c8b1722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/opensnitch/dialogs/ruleseditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def _is_valid_regex(self, regex):
return False

def _reset_state(self):
self.ruleNameEdit.setText("")
self.statusLabel.setText("")

self.actionDenyRadio.setChecked(True)
Expand Down

0 comments on commit c8b1722

Please sign in to comment.