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 ad392c8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/java/org/jabref/preferences/JabRefPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
import org.jabref.logic.bibtex.FieldContentFormatterPreferences;
import org.jabref.logic.bibtex.FieldWriterPreferences;
import org.jabref.logic.bibtexkeypattern.BibtexKeyPatternPreferences;
import org.jabref.logic.bst.BstPreviewLayout;
import org.jabref.logic.citationstyle.CitationStyle;
import org.jabref.logic.citationstyle.CitationStylePreviewLayout;
import org.jabref.logic.cleanup.CleanupPreferences;
Expand Down Expand Up @@ -652,7 +651,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 +1492,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 ad392c8

Please sign in to comment.