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

Fixes displaying of Mr DLib recommendations #2616

Merged
merged 1 commit into from
Mar 6, 2017
Merged

Fixes displaying of Mr DLib recommendations #2616

merged 1 commit into from
Mar 6, 2017

Conversation

koppor
Copy link
Member

@koppor koppor commented Mar 5, 2017

Fixes koppor#231

Mr DLib did never load the recommendations, because of an NPE fix (#2567)

(and some other stylistic improvements)
@koppor koppor requested a review from Siedlerchr March 5, 2017 21:35
@koppor koppor added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Mar 5, 2017
@@ -1148,7 +1148,7 @@ public void stateChanged(ChangeEvent event) {
}

// When the tab "Related articles" gets selected, the request to get the recommendations is started.
if (activeTab instanceof EntryEditorTabRelatedArticles) {
if (activeTab == relatedArticlePanel) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. I really wonder why this previously didn't work. But well, if it works now, then it's fine...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EntryEditorTabRelatedArticles was AFAIK used as child. activeTab was a JPanel.

@Siedlerchr Siedlerchr merged commit f259b97 into master Mar 6, 2017
@Siedlerchr Siedlerchr deleted the fixmrdlib branch March 6, 2017 09:35
@koppor koppor removed the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Mar 6, 2017
Siedlerchr added a commit that referenced this pull request Mar 7, 2017
* upstream/master: (91 commits)
  fixed #2613 (#2623)
  Add MathSciNet as ID-based fetcher (#2621)
  Add icon + color and description to groups (#2612)
  Fixed wrong logger import (#2618)
  Cleanup window has a scrollbar now. (#2614)
  Added the locale to a newly created class
  Move ExportComparator and CustomExportList to the correct package (only used in preferences)
  Fixes displaying of Mr DLib recommendations (#2616)
  Fix title-related key patterns in BibtexKeyPatternUtil (#2610)
  Remove OrdinalsToSuperscriptFormatter from recommended biblatex save actions (#2601)
  Update pgjdbc to new major version
  Update Dependenices String Similary log4j wiremock mockito
  Fix exception when parsing groups which contain a top level group (#2611)
  Add "Remove group and subgroups" option (#2587)
  Fix #1104: group selection is preserved under tab change
  Fix several File Cleanup + Rename issues  (#2415)
  Fixed a small error in the code comments
  Implement #1904: filter groups (#2588)
  Braces checking followup (#2598)
  Improve braces checking (#2593)
  ...
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.

Mr. DLib sometimes does not recommend anything
2 participants