mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 16:44:46 +01:00
UI: fixed displaying remote statistics
This commit is contained in:
parent
2cd18f3bcb
commit
cf6d923670
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ class UIService(ui_pb2_grpc.UIServicer, QtWidgets.QGraphicsObject):
|
||||||
with self._remote_lock:
|
with self._remote_lock:
|
||||||
_, addr, _ = context.peer().split(':')
|
_, addr, _ = context.peer().split(':')
|
||||||
self._populate_stats(self._db, addr, request.stats)
|
self._populate_stats(self._db, addr, request.stats)
|
||||||
|
self._stats_dialog.update(request.stats)
|
||||||
|
|
||||||
# XXX: disable this option for now
|
# XXX: disable this option for now
|
||||||
#if addr in self._remote_stats:
|
#if addr in self._remote_stats:
|
||||||
# self._remote_stats[addr].update(request.stats)
|
# self._remote_stats[addr].update(request.stats)
|
||||||
|
|
Loading…
Add table
Reference in a new issue