mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
#6694 - reset line spacing to single if no custom size is defined
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34405 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
74c980af62
commit
27c79955e9
@ -2163,10 +2163,14 @@ void GuiDocument::applyView()
|
||||
case 2:
|
||||
bp_.spacing().set(Spacing::Double);
|
||||
break;
|
||||
case 3:
|
||||
bp_.spacing().set(Spacing::Other,
|
||||
widgetToDoubleStr(textLayoutModule->lspacingLE));
|
||||
case 3: {
|
||||
string s = widgetToDoubleStr(textLayoutModule->lspacingLE);
|
||||
if (s.empty())
|
||||
bp_.spacing().set(Spacing::Single);
|
||||
else
|
||||
bp_.spacing().set(Spacing::Other, s);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (textLayoutModule->twoColumnCB->isChecked())
|
||||
|
Loading…
Reference in New Issue
Block a user