diff --git a/scenes/frame-ecm-list/scroll-ecm-list.gd b/scenes/frame-ecm-list/scroll-ecm-list.gd index 498f0311..47506b7a 100644 --- a/scenes/frame-ecm-list/scroll-ecm-list.gd +++ b/scenes/frame-ecm-list/scroll-ecm-list.gd @@ -127,7 +127,10 @@ func on_interfer_new(ecm, table_index): func on_interfer_off(ecm, table_index): - $table.remove_row(table_index[ecm.ispp]) + if not table_index.has(ecm.ispp): + return + var i_row = table_index[ecm.ispp] + $table.remove_row(i_row) rehash(table_index) var sel_rows: Array $table.get_selected_rows(sel_rows)