-
-
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
Fix storing of custom jstyles #6242
Conversation
Fixes #6170 Rename method for internalStyle
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.
LGTM, just a bit of nitpicking from my side
@@ -121,6 +121,9 @@ public void viewStyle(StyleSelectItemViewModel item) { | |||
} | |||
|
|||
public void storePrefs() { | |||
|
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.
delete empty line
@@ -121,6 +121,9 @@ public void viewStyle(StyleSelectItemViewModel item) { | |||
} | |||
|
|||
public void storePrefs() { | |||
|
|||
List<String> externalStyles = styles.stream().filter(style -> !style.internalStyleProperty().get()).map(this::toOOBibStyle).map(OOBibStyle::getPath).collect(Collectors.toList()); |
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.
Instead of internalStyleProperty().get()
use OOBibStyle.isInternalStyle
?
@@ -44,6 +44,7 @@ public StyleLoader(OpenOfficePreferences preferences, LayoutFormatterPreferences | |||
loadExternalStyles(); | |||
} | |||
|
|||
|
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.
remove empty line
Reorder filter
4eee79a Fix director not showing in MHRAs (#6271) 20c4b5e Update the-journal-of-pain.csl (#6202) 6ba269f Added missing book volume in short-title-note (#6262) 1a11c0f Update harvard-stellenbosch-university.csl (#6256) 6b598e7 Update karstenia.csl (#6242) 38bc5fe APA: Swap priority for periodical page and number (#6255) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: 4eee79a
Fixes #6170
Rename method for internalStyle