mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Prevent sort options being duplicated
This commit is contained in:
@@ -183,6 +183,10 @@ public abstract class ItemManager<T extends InventoryItem> extends FContainer im
|
||||
});
|
||||
|
||||
sortCols.clear();
|
||||
if (cbxSortOptions != null) {
|
||||
cbxSortOptions.setChangedHandler(null);
|
||||
cbxSortOptions.removeAllItems();
|
||||
}
|
||||
|
||||
int modelIndex = 0;
|
||||
for (final ItemColumn col : cols) {
|
||||
|
||||
Reference in New Issue
Block a user