mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-12 22:14:35 +00:00
fix line spacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5739 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
49a05bc448
commit
c5c8101ef2
@ -1,7 +1,11 @@
|
||||
2002-11-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* QDocument.C: fix line spacing
|
||||
|
||||
2002-11-27 Juergen Spitzmueller <j.spitzmueller@gmx.de>
|
||||
|
||||
* ui/TabularDialog.ui
|
||||
* QTabular.C
|
||||
* ui/TabularDialog.ui:
|
||||
* QTabular.C:
|
||||
* QTabularDialog.C: ui fixes.
|
||||
|
||||
2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
@ -472,11 +472,14 @@ void QDocument::update_contents()
|
||||
dialog_->packagesModule->amsCB->setChecked(
|
||||
params.use_amsmath);
|
||||
|
||||
// FIXME: this is wrong
|
||||
// QComboBox::setCurrentItem: (lspacingCO) Index 4 out of range
|
||||
switch (params.spacing.getSpace()) {
|
||||
case Spacing::Other: nitem = 3; break;
|
||||
case Spacing::Double: nitem = 2; break;
|
||||
case Spacing::Onehalf: nitem = 1; break;
|
||||
case Spacing::Default: case Spacing::Single: nitem = 0; break;
|
||||
}
|
||||
|
||||
dialog_->packagesModule->lspacingCO->
|
||||
setCurrentItem(params.spacing.getSpace());
|
||||
dialog_->packagesModule->lspacingCO->setCurrentItem(nitem);
|
||||
if (params.spacing.getSpace() == Spacing::Other) {
|
||||
dialog_->packagesModule->lspacingLE->setText(
|
||||
tostr(params.spacing.getValue()).c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user