File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,9 @@ class ReflectPanel : AbstractPanel() {
54
54
}
55
55
56
56
fun addReflection (reflection : ReflectedResponse ) {
57
- model.addReflection(reflection)
57
+ reflections.add(reflection)
58
+ if (! reflectionOptions.filtered())
59
+ model.refreshReflections()
58
60
}
59
61
}
60
62
@@ -121,14 +123,8 @@ class ReflectionsModel : AbstractTableModel() {
121
123
}
122
124
}
123
125
124
- fun addReflection (reflection : ReflectedResponse ) {
125
- this .reflections.add(reflection)
126
- displayedReflections = this .reflections
127
- fireTableRowsInserted(displayedReflections.lastIndex, displayedReflections.lastIndex)
128
- }
129
-
130
126
fun removeReflection (reflection : MutableList <ReflectedResponse >) {
131
- this . reflections.removeAll(reflection)
127
+ reflections.removeAll(reflection)
132
128
refreshReflections()
133
129
}
134
130
You can’t perform that action at this time.
0 commit comments