Fixes ActionList and EventTree issues. #261

Merged
merged 8 commits into from Apr 8, 2016

Conversation

Projects
None yet
1 participant
@RobertBColton
Collaborator

RobertBColton commented Apr 8, 2016

This continues #260 by fixing an additional issue where a code action could still be added when the action container was null. Additional issues are also fixed including an exception when trying to delete an event and there were no events left for an object. The problem was that getLastPathComponent and getLastSelectedPathComponent will return the last selected node even if it is no longer in the tree. Correcting this means checking if the parent of the node is null. This also makes it so that you will not be allowed to drop on an event tree during a drag and drop if the mode is replace or duplicate and there are no events to actually replace or duplicate in the tree.

@RobertBColton RobertBColton merged commit 6799344 into IsmAvatar:stable Apr 8, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment