another fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5235 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-09-08 06:22:06 +00:00
parent 5cd85b521d
commit d7d7c81b4e
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-09-08 John Levon <levon@movementarian.org>
* QFloat.C: another fix
2002-09-08 John Levon <levon@movementarian.org>
* QFloat.h:

View File

@ -105,6 +105,13 @@ void QFloat::update_contents()
void QFloat::apply()
{
controller().params().wide = dialog_->spanCB->isChecked();
if (dialog_->defaultsCB->isChecked()) {
controller().params().placement = "";
return;
}
string placement;
if (dialog_->heredefinitelyCB->isChecked()) {
@ -127,5 +134,4 @@ void QFloat::apply()
}
}
controller().params().placement = placement;
controller().params().wide = dialog_->spanCB->isChecked();
}