Skip to content

Prevent exception when protecting root directory#24

Open
BookOfBeasts wants to merge 1 commit intohxseven:masterfrom
BookOfBeasts:NotBob-Mod1
Open

Prevent exception when protecting root directory#24
BookOfBeasts wants to merge 1 commit intohxseven:masterfrom
BookOfBeasts:NotBob-Mod1

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