Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent exception when protecting root directory #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BookOfBeasts
Copy link

Attempting to protect the root directory in the RED2 treeview could pass a NULL node to the ProtectNode method. check for NULL before processing.

I discovered RED2 a few months ago and have been making good use of it. Unfortunately it throws an exception if I action a 'Protect Once' on the root directory in the RED2 treeview. Ive fixed it in my local copy so I thought I'd try and give back a little by submitting the fix to you.

Robert 'NotBob' Bookerby

Attempting to protect the root directory could pass a NULL node to the ProtectNode method. check for NULL before processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant