-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Try to fix ioob for selected entries #10389
Conversation
I tried this PR. In its current state does NOT fix #8719 |
|
note, that thilo's exception is more related to #10379 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While reading, I could not quite follow. Added some comments - but also pushed some changes.
@@ -517,15 +518,14 @@ private void createMainTable() { | |||
entryTypesManager, | |||
taskExecutor, | |||
fileUpdateMonitor); | |||
|
|||
// conntent binding does not work as it won't trigger the needsEntries checker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not quite get the reference to needsEntries checker
. Thus, I tried to find it:
// conntent binding does not work as it won't trigger the needsEntries checker | |
// content binding does not work as it does not trigger the ManageKeywordsAction#needsEntriesSelected checker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a clarification, ActionHelper#needsEntriesSelected - enables or disables the menu items
Your code currently does not meet JabRef's code guidelines. The tool reviewdog already placed comments on GitHub to indicate the places. See the tab "Files" in you PR. Please carefully follow the setup guide for the codestyle. Afterwards, please run checkstyle locally and fix the issues. More information on code quality in JabRef is available at https://devdocs.jabref.org/getting-into-the-code/development-strategy.html. |
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
Note that this DOES NOT FIX Thilo's reported exception. |
The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build. |
+1 for follow-up. Code looks better than before, therefore merging. |
Refs #10373
Use changed list from the listener
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)