Skip to content

Commit 90dfba1

Browse files
ui,stats: nodes view improvements
- Use the address of the node as the unique index to select rows. - Restore order of the nodes properly when coming back from the details view.
1 parent 321c152 commit 90dfba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/opensnitch/dialogs/stats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
215215
"cons_dropped as Dropped," \
216216
"version as Version",
217217
"header_labels": [],
218-
"last_order_by": "1",
218+
"last_order_by": "3,2,1",
219219
"last_order_to": 1,
220-
"tracking_column": COL_N_UPTIME
220+
"tracking_column": COL_NODE
221221
},
222222
TAB_RULES: {
223223
"name": "rules",

0 commit comments

Comments
 (0)