Skip to content

Commit

Permalink
ui,rules: fixed typo
Browse files Browse the repository at this point in the history
It was preventing from diplaying an error when trying to open the
ruleseditor to edit a rule.
  • Loading branch information
gustavo-iniguez-goya committed Nov 5, 2023
1 parent d181948 commit d3e118e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/opensnitch/dialogs/stats.py
Expand Up @@ -1267,7 +1267,7 @@ def _table_menu_edit(self, cur_idx, model, selection):
node = model.index(idx.row(), self.COL_R_NODE).data()
records = self._get_rule(name, node)
if records == None or records == -1:
Message.ok(qc.transslate("stats", "New rule error"),
Message.ok(QC.transslate("stats", "New rule error"),
QC.translate("stats", "Rule not found by that name and node"),
QtWidgets.QmessageBox.Warning)
return
Expand Down

0 comments on commit d3e118e

Please sign in to comment.