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

Only show renaming option for JClass, JField and JMethod #1001

Merged
merged 1 commit into from
Oct 29, 2020

Conversation

alissonlauffer
Copy link
Contributor

Description

My previous PR (#993) erroneously used a null-check for determining if the Rename option should be shown. As result, all nodes had the Rename option shown (but of course it does not work for nodes which are not class/method/field instances).
As this is just a quick fix for an issue in my last PR, I don't think it needs an issue attached (If it does, please tell me).

I'm sorry for pushing broken code to the project. In my future contributions I will try to pay more attention to possible regressions, lol.

@skylot
Copy link
Owner

skylot commented Oct 29, 2020

@alissonlauffer thanks! It is always ok to fix a bug 😄

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