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

Right-click menu without an open database #156

Open
oscargus opened this issue Aug 11, 2016 · 0 comments
Open

Right-click menu without an open database #156

oscargus opened this issue Aug 11, 2016 · 0 comments
Labels

Comments

@oscargus
Copy link

When right-clicking without an open database, the "tab menu" is opened with all options enabled. More or less every option leads to some sort of exception, typically an NPE since there is no current BasePanel. The best way would be to disable these, with a backup alternative of checking for a null return value of getCurrentBasePanel().

It wasn't straightforward (to me) to disable them as the popup code and the creation are in different files. Passing all actions would be a feasible alternative, but maybe someone is more clever than that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant