diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 825e786e25..d05629568e 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -556,6 +556,8 @@ void PreambleModule::closeEvent(QCloseEvent * e) LocalLayout::LocalLayout(QWidget * parent) : UiWidget(parent), current_id_(0), validated_(false) { + locallayoutTE->setFont(guiApp->typewriterSystemFont()); + locallayoutTE->setWordWrapMode(QTextOption::NoWrap); connect(locallayoutTE, SIGNAL(textChanged()), this, SLOT(textChanged())); connect(validatePB, SIGNAL(clicked()), this, SLOT(validatePressed())); connect(convertPB, SIGNAL(clicked()), this, SLOT(convertPressed()));