mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
commit
2357186093
1 changed files with 1 additions and 3 deletions
|
@ -1057,9 +1057,6 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
||||||
if nid == None:
|
if nid == None:
|
||||||
return
|
return
|
||||||
self._notifications_sent[nid] = noti
|
self._notifications_sent[nid] = noti
|
||||||
# FIXME: we shouldn't refresh the view here. We should wait for a
|
|
||||||
# notification reply on self._cb_notification_callback
|
|
||||||
self._refresh_active_table()
|
|
||||||
|
|
||||||
# https://stackoverflow.com/questions/40225270/copy-paste-multiple-items-from-qtableview-in-pyqt4
|
# https://stackoverflow.com/questions/40225270/copy-paste-multiple-items-from-qtableview-in-pyqt4
|
||||||
def _copy_selected_rows(self):
|
def _copy_selected_rows(self):
|
||||||
|
@ -1570,6 +1567,7 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
|
||||||
name = model.index(idx.row(), self.COL_R_NAME).data()
|
name = model.index(idx.row(), self.COL_R_NAME).data()
|
||||||
node = model.index(idx.row(), self.COL_R_NODE).data()
|
node = model.index(idx.row(), self.COL_R_NODE).data()
|
||||||
self._del_rule(name, node)
|
self._del_rule(name, node)
|
||||||
|
self._refresh_active_table()
|
||||||
|
|
||||||
elif cur_idx == self.TAB_RULES and self.alertsTable.isVisible():
|
elif cur_idx == self.TAB_RULES and self.alertsTable.isVisible():
|
||||||
for idx in selection:
|
for idx in selection:
|
||||||
|
|
Loading…
Add table
Reference in a new issue