Skip to content

Commit

Permalink
Fixed an issue where entry preview in preferences has white theme. (J…
Browse files Browse the repository at this point in the history
  • Loading branch information
dextep committed Jun 12, 2020
1 parent 7d8b81d commit 6002dc5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ public void initialize() {
((PreviewViewer) previewTab.getContent()).setEntry(TestEntry.getTestEntry());
EasyBind.subscribe(viewModel.layoutProperty(), value -> ((PreviewViewer) previewTab.getContent()).setLayout(value));
previewTab.getContent().visibleProperty().bind(viewModel.chosenSelectionModelProperty().getValue().selectedItemProperty().isNotNull());
((PreviewViewer) previewTab.getContent()).setTheme(preferences.getTheme());

editArea.clear();
editArea.setParagraphGraphicFactory(LineNumberFactory.get(editArea));
Expand Down

0 comments on commit 6002dc5

Please sign in to comment.