Gui: [skip ci] use defined font when creating text editor

This commit is contained in:
wmayer
2019-12-20 12:41:24 +01:00
parent 9746106740
commit b0ca5f3e3b

View File

@@ -85,6 +85,7 @@ bool ViewProviderTextDocument::doubleClicked()
if (!activateView()) {
editorWidget = new QPlainTextEdit {};
editorWidget->setReadOnly(ReadOnly.getValue());
FontName.touch();
SyntaxHighlighter.touch();
getMainWindow()->addWindow(