Skip to content

Commit

Permalink
UI: refresh rules list after deleting a rule.
Browse files Browse the repository at this point in the history
reported here #28
  • Loading branch information
gustavo-iniguez-goya committed May 25, 2020
1 parent 61a65a3 commit 53d4959
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/opensnitch/dialogs/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def _del_rule(self, rule_name, node_addr):
self._notifications_sent[nid] = noti

self._db.remove("DELETE FROM rules WHERE name='%s' AND node='%s'" % (rule.name, node_addr))
self._refresh_active_table()

@QtCore.pyqtSlot(ui_pb2.NotificationReply)
def _cb_notification_callback(self, reply):
Expand Down

0 comments on commit 53d4959

Please sign in to comment.