mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +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,11 +2163,15 @@ 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())
|
||||
bp_.columns = 2;
|
||||
|
Loading…
Reference in New Issue
Block a user