From c8b1722f3e06b25ff47f74a84a21de76b40ebff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20I=C3=B1iguez=20Goia?= Date: Fri, 19 Jun 2020 18:17:39 +0200 Subject: [PATCH] UI: reset rule name when creating a new one --- ui/opensnitch/dialogs/ruleseditor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/opensnitch/dialogs/ruleseditor.py b/ui/opensnitch/dialogs/ruleseditor.py index 432aa3e1ea..069e99095f 100644 --- a/ui/opensnitch/dialogs/ruleseditor.py +++ b/ui/opensnitch/dialogs/ruleseditor.py @@ -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)