Remove unused table columns instead of simply hiding them
This commit is contained in:
parent
e46c0bec2b
commit
8ea169dc90
@ -163,7 +163,7 @@ public class ComponentPresetTable extends JTable {
|
||||
this.sorter.toggleSortOrder(2); // Sort by the first column (manufacturer) by default
|
||||
|
||||
for (TableColumn hiddenColumn : this.hiddenColumns) {
|
||||
this.tableColumnModel.setColumnVisible(hiddenColumn, false);
|
||||
this.tableColumnModel.removeColumn(hiddenColumn);
|
||||
}
|
||||
|
||||
JTableHeader header = this.getTableHeader();
|
||||
|
Loading…
x
Reference in New Issue
Block a user