diff --git a/src/frontends/qt4/QDocument.cpp b/src/frontends/qt4/QDocument.cpp index 5174eaa66c..200a3892b3 100644 --- a/src/frontends/qt4/QDocument.cpp +++ b/src/frontends/qt4/QDocument.cpp @@ -1200,7 +1200,7 @@ void QDocumentDialog::updateParams(BufferParams const & params) // break listings_params to multiple lines string lstparams = InsetListingsParams(params.listings_params).separatedParams(); - textLayoutModule->listingsED->setText(toqstr(lstparams)); + textLayoutModule->listingsED->setPlainText(toqstr(lstparams)); if (!params.options.empty()) { latexModule->optionsLE->setText( diff --git a/src/frontends/qt4/QInclude.cpp b/src/frontends/qt4/QInclude.cpp index 283dda8389..007a89ae8e 100644 --- a/src/frontends/qt4/QInclude.cpp +++ b/src/frontends/qt4/QInclude.cpp @@ -235,7 +235,7 @@ void QInclude::update_contents() dialog_->listingsGB->setEnabled(true); dialog_->listingsED->setEnabled(true); InsetListingsParams par(params.getOptions()); - dialog_->listingsED->setText(toqstr(par.separatedParams())); + dialog_->listingsED->setPlainText(toqstr(par.separatedParams())); } } diff --git a/src/frontends/qt4/QListings.cpp b/src/frontends/qt4/QListings.cpp index 6b3d5c0457..55ec960713 100644 --- a/src/frontends/qt4/QListings.cpp +++ b/src/frontends/qt4/QListings.cpp @@ -121,7 +121,7 @@ void QListings::apply() void QListings::update_contents() { InsetListingsParams & params = controller().params(); - dialog_->listingsED->setText(toqstr(params.separatedParams())); + dialog_->listingsED->setPlainText(toqstr(params.separatedParams())); if (params.isInline()) dialog_->inlineCB->setChecked(true);