mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Restor 1.4.x behaviour: Don't touch the preamble QTextEdit if the preamble text is unchanged.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18154 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cc430f0137
commit
cf5a9defdd
@ -1022,7 +1022,8 @@ void QDocumentDialog::updateParams(BufferParams const & params)
|
||||
|
||||
// preamble
|
||||
QString preamble = toqstr(params.preamble);
|
||||
preambleModule->preambleTE->document()->setPlainText(preamble);
|
||||
if (preamble != preambleModule->preambleTE->document()->toPlainText())
|
||||
preambleModule->preambleTE->document()->setPlainText(preamble);
|
||||
|
||||
// biblio
|
||||
biblioModule->citeDefaultRB->setChecked(
|
||||
|
Loading…
Reference in New Issue
Block a user