mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 16:44:46 +01:00
ui: fixed viewing stats of a node
clicking from the General tab
This commit is contained in:
parent
6637861f33
commit
1c3a9d1ba4
1 changed files with 2 additions and 1 deletions
|
@ -568,7 +568,8 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
||||||
if idx == StatsDialog.COL_NODE:
|
if idx == StatsDialog.COL_NODE:
|
||||||
cur_idx = 1
|
cur_idx = 1
|
||||||
self.tabWidget.setCurrentIndex(cur_idx)
|
self.tabWidget.setCurrentIndex(cur_idx)
|
||||||
self._set_nodes_query(data)
|
p, addr = self._nodes.get_addr(data)
|
||||||
|
self._set_nodes_query(addr)
|
||||||
elif idx == StatsDialog.COL_PROCS:
|
elif idx == StatsDialog.COL_PROCS:
|
||||||
cur_idx = 4
|
cur_idx = 4
|
||||||
self.tabWidget.setCurrentIndex(cur_idx)
|
self.tabWidget.setCurrentIndex(cur_idx)
|
||||||
|
|
Loading…
Add table
Reference in a new issue