Skip to content

Commit 956f058

Browse files
committed
fix for issue 14401
1 parent 2508b64 commit 956f058

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jabgui/src/main/java/org/jabref/gui/entryeditor/EntryEditorPreferences.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ private EntryEditorPreferences() {
111111
);
112112
}
113113

114+
public static EntryEditorPreferences getDefault() {
115+
return new EntryEditorPreferences();
116+
}
117+
114118
public void setAll(EntryEditorPreferences preferences) {
115119
setEntryEditorTabList(preferences.getEntryEditorTabs());
116120
this.defaultEntryEditorTabList.set(preferences.getDefaultEntryEditorTabs());
@@ -130,10 +134,6 @@ public void setAll(EntryEditorPreferences preferences) {
130134
this.previewWidthDividerPosition.set(preferences.getPreviewDividerPos());
131135
}
132136

133-
public static EntryEditorPreferences getDefault() {
134-
return new EntryEditorPreferences();
135-
}
136-
137137
public ObservableMap<String, Set<Field>> getEntryEditorTabs() {
138138
return entryEditorTabList.get();
139139
}

0 commit comments

Comments
 (0)