compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6367 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2003-03-06 15:31:23 +00:00
parent a0c3878e31
commit 6c0720adda
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-03-06 John Levon <levon@movementarian.org>
* QDocument.C: compile fix
2003-03-06 John Levon <levon@movementarian.org>
* QExternalDialog.C: connect Apply

View File

@ -241,8 +241,10 @@ void QDocument::apply()
if (dialog_->packagesModule->amsautoCB->isChecked()) {
params.use_amsmath = BufferParams::AMS_AUTO;
} else {
params.use_amsmath =
dialog_->packagesModule->amsCB->isChecked();
if (dialog_->packagesModule->amsCB->isChecked())
params.use_amsmath = BufferParams::AMS_ON;
else
params.use_amsmath = BufferParams::AMS_OFF;
}
// layout
@ -481,7 +483,7 @@ void QDocument::update_contents()
dialog_->packagesModule->amsCB->setChecked(
params.use_amsmath == BufferParams::AMS_YES);
params.use_amsmath == BufferParams::AMS_ON);
dialog_->packagesModule->amsautoCB->setChecked(
params.use_amsmath == BufferParams::AMS_AUTO);