mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Use QTextEdit::setPlainText instead of QTextEdit::setText, because the
later is not available in Qt 4.1. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18257 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aeeac15128
commit
e916170647
@ -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(
|
||||
|
@ -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()));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user