Skip to content

Commit

Permalink
Remove calling of WIP preview functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Mar 21, 2020
1 parent 6b9ce8a commit 9008ddd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/org/jabref/preferences/JabRefPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ private JabRefPreferences() {
defaults.put(VERSION_IGNORED_UPDATE, "");

// preview
defaults.put(CYCLE_PREVIEW, "Preview;" + "bst/IEEEtran.bst;" + CitationStyle.DEFAULT);
defaults.put(CYCLE_PREVIEW, "Preview;" + CitationStyle.DEFAULT);
defaults.put(CYCLE_PREVIEW_POS, 0);
defaults.put(PREVIEW_PANEL_HEIGHT, 0.65);
defaults.put(PREVIEW_AS_TAB, Boolean.FALSE);
Expand Down Expand Up @@ -1493,8 +1493,6 @@ public PreviewPreferences getPreviewPreferences() {
return CitationStyle.createCitationStyleFromFile(layout)
.map(file -> (PreviewLayout) new CitationStylePreviewLayout(file))
.orElse(null);
} else if (layout.endsWith(".bst")) {
return new BstPreviewLayout(layout);
} else {
return new TextBasedPreviewLayout(style, getLayoutFormatterPreferences(Globals.journalAbbreviationLoader));
}
Expand Down

0 comments on commit 9008ddd

Please sign in to comment.