Skip to content

Commit

Permalink
Gui: [skip ci] use defined font when creating text editor
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 20, 2019
1 parent d969581 commit af011da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Gui/ViewProviderTextDocument.cpp
Expand Up @@ -85,6 +85,7 @@ bool ViewProviderTextDocument::doubleClicked()
if (!activateView()) {
editorWidget = new QPlainTextEdit {};
editorWidget->setReadOnly(ReadOnly.getValue());
FontName.touch();
SyntaxHighlighter.touch();

getMainWindow()->addWindow(
Expand Down

0 comments on commit af011da

Please sign in to comment.