This commit is contained in:
e3dio 2025-01-03 22:19:01 -07:00 committed by GitHub
parent 337b81a89b
commit 824b5c789a
Failed to generate hash of commit

View file

@ -1057,9 +1057,6 @@ class StatsDialog(QtWidgets.QDialog, uic.loadUiType(DIALOG_UI_PATH)[0]):
if nid == None:
return
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
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()
node = model.index(idx.row(), self.COL_R_NODE).data()
self._del_rule(name, node)
self._refresh_active_table()
elif cur_idx == self.TAB_RULES and self.alertsTable.isVisible():
for idx in selection: