Prevent rare exception on changing trust when result tabs are open

This commit is contained in:
Zlatin Balevsky
2019-06-19 12:23:18 +01:00
parent 162844787f
commit 51d5dbe47e

View File

@@ -282,8 +282,10 @@ class MainFrameModel {
updateTablePreservingSelection("trusted-table")
updateTablePreservingSelection("distrusted-table")
results.values().each {
it.view.pane.getClientProperty("results-table")?.model.fireTableDataChanged()
results.values().each { MVCGroup group ->
if (group.alive) {
group.view.pane.getClientProperty("results-table")?.model.fireTableDataChanged()
}
}
}
}