mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
fix setting of vfill in paragraph dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ab3b768c24
commit
c2123ad509
@ -1,3 +1,8 @@
|
||||
2003-03-12 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* QParagraph.C (apply): do not reset vfill spacing to 'none' when
|
||||
there is no explicit length given (off by one typo)
|
||||
|
||||
2003-03-13 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Dialogs.C:
|
||||
|
@ -132,7 +132,7 @@ void QParagraph::apply()
|
||||
// SPACING ABOVE
|
||||
// If a vspace kind is "Length" but there's no text in
|
||||
// the input field, reset the kind to "None".
|
||||
if (dialog_->spacingAbove->currentItem() == 5
|
||||
if (dialog_->spacingAbove->currentItem() == 6
|
||||
&& dialog_->valueAbove->text().isEmpty())
|
||||
dialog_->spacingAbove->setCurrentItem(0);
|
||||
|
||||
@ -145,7 +145,7 @@ void QParagraph::apply()
|
||||
params.spaceTop(space_top);
|
||||
|
||||
// SPACING BELOW
|
||||
if (dialog_->spacingBelow->currentItem() == 5
|
||||
if (dialog_->spacingBelow->currentItem() == 6
|
||||
&& dialog_->valueBelow->text().isEmpty())
|
||||
dialog_->spacingBelow->setCurrentItem(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user