mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fixup b0c102cfb
: make it possible to select medskip as parskip
Some new parskip possibilities had been added, but the check for custom length index had not bee updated. This code is very fragile. Related to bug #10968.
This commit is contained in:
parent
61fb295e46
commit
5c055034c2
@ -4861,7 +4861,7 @@ bool GuiDocument::isValid()
|
||||
// if we're asking for skips between paragraphs
|
||||
!textLayoutModule->skipRB->isChecked() ||
|
||||
// then either we haven't chosen custom
|
||||
textLayoutModule->skipCO->currentIndex() != 3 ||
|
||||
textLayoutModule->skipCO->currentIndex() != 5 ||
|
||||
// or else a length has been given
|
||||
!textLayoutModule->skipLE->text().isEmpty()
|
||||
) &&
|
||||
|
Loading…
Reference in New Issue
Block a user