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

Related to Issue #277 - Failing to right click on TreeNode #577

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

Related to Issue #277 - Failing to right click on TreeNode #577

wants to merge 1 commit into from

Conversation

mwbowers
Copy link

@mwbowers mwbowers commented Oct 2, 2017

After bringing in the previous change of this file, I was able to call the Get method properly (I had been experiencing the same issue identified in Issue #277 ); however, I did have some issues with TreeNodes not being able to right click. With the previous version, the frameId was climbing the entire tree before resolving. Modified to resolve with the FrameworkId of the first ancestor that has one.

When attempting to find the framework, once one is found, stop analyzing the ancestors.
@jeffhuckins
Copy link

What you said didn't provide any resolution for how to make TreeNode.RightClick() work.

@mwbowers
Copy link
Author

In my case it was getting to the top parent, which did not have a FrameworkId, and setting the FrameworkId to the parent's (nothing) which caused the error. The change in this PR provides a resolution for this by getting the FrameworkId from the first ancestor that has one. If you're having the same trouble, pull the change.

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.

2 participants