mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Fix multiple selection for image view
This commit is contained in:
@@ -1073,7 +1073,9 @@ public abstract class ItemManager<T extends InventoryItem> extends JPanel {
|
|||||||
public void setAllowMultipleSelections(boolean allowMultipleSelections0) {
|
public void setAllowMultipleSelections(boolean allowMultipleSelections0) {
|
||||||
if (this.allowMultipleSelections == allowMultipleSelections0) { return; }
|
if (this.allowMultipleSelections == allowMultipleSelections0) { return; }
|
||||||
this.allowMultipleSelections = allowMultipleSelections0;
|
this.allowMultipleSelections = allowMultipleSelections0;
|
||||||
this.currentView.setAllowMultipleSelections(allowMultipleSelections0);
|
for (ItemView<T> view : views) {
|
||||||
|
view.setAllowMultipleSelections(allowMultipleSelections0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user