Fix multiple selection for image view

This commit is contained in:
drdev
2014-02-04 17:53:30 +00:00
parent 06de741370
commit c9db375d7c

View File

@@ -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);
}
} }
/** /**