From d3e118e4cf75f7d5f941f97824b4eada0587c750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20I=C3=B1iguez=20Goia?= Date: Thu, 12 Oct 2023 01:45:38 +0200 Subject: [PATCH] ui,rules: fixed typo It was preventing from diplaying an error when trying to open the ruleseditor to edit a rule. --- ui/opensnitch/dialogs/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/opensnitch/dialogs/stats.py b/ui/opensnitch/dialogs/stats.py index d3dc8fd6df..504dad53b3 100644 --- a/ui/opensnitch/dialogs/stats.py +++ b/ui/opensnitch/dialogs/stats.py @@ -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