Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes ActionList and EventTree issues. #261
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.