Items in the item grid would be toggled when the hosted item was clicked at the map locations but not the other way around. This should fix that.
This will cause both the toggle_item and toggle_hosted_item functions to both get called when an item is clicked but since the second one won't actually update the Active state of the item it won't result in an infinite loop.
Items in the item grid would be toggled when the hosted item was clicked at the map locations but not the other way around. This should fix that.
This will cause both the toggle_item and toggle_hosted_item functions to both get called when an item is clicked but since the second one won't actually update the Active state of the item it won't result in an infinite loop.