mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-14 20:26:50 +00:00
compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6367 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a0c3878e31
commit
6c0720adda
@ -1,3 +1,7 @@
|
|||||||
|
2003-03-06 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* QDocument.C: compile fix
|
||||||
|
|
||||||
2003-03-06 John Levon <levon@movementarian.org>
|
2003-03-06 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* QExternalDialog.C: connect Apply
|
* QExternalDialog.C: connect Apply
|
||||||
|
@ -241,8 +241,10 @@ void QDocument::apply()
|
|||||||
if (dialog_->packagesModule->amsautoCB->isChecked()) {
|
if (dialog_->packagesModule->amsautoCB->isChecked()) {
|
||||||
params.use_amsmath = BufferParams::AMS_AUTO;
|
params.use_amsmath = BufferParams::AMS_AUTO;
|
||||||
} else {
|
} else {
|
||||||
params.use_amsmath =
|
if (dialog_->packagesModule->amsCB->isChecked())
|
||||||
dialog_->packagesModule->amsCB->isChecked();
|
params.use_amsmath = BufferParams::AMS_ON;
|
||||||
|
else
|
||||||
|
params.use_amsmath = BufferParams::AMS_OFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
// layout
|
// layout
|
||||||
@ -481,7 +483,7 @@ void QDocument::update_contents()
|
|||||||
|
|
||||||
|
|
||||||
dialog_->packagesModule->amsCB->setChecked(
|
dialog_->packagesModule->amsCB->setChecked(
|
||||||
params.use_amsmath == BufferParams::AMS_YES);
|
params.use_amsmath == BufferParams::AMS_ON);
|
||||||
dialog_->packagesModule->amsautoCB->setChecked(
|
dialog_->packagesModule->amsautoCB->setChecked(
|
||||||
params.use_amsmath == BufferParams::AMS_AUTO);
|
params.use_amsmath == BufferParams::AMS_AUTO);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user