GuiBox.cpp: re-add lost braces

- FORMAT: add date
This commit is contained in:
Uwe Stöhr 2015-05-11 22:16:36 +02:00
parent 8010b90cb4
commit 335ccee3b5
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ adjustments are made to tex2lyx and bugs are fixed in lyx2lyx.
----------------------- -----------------------
2015-05-xx Uwe Stöhr <uwestoehr@web.de> 2015-05-11 Uwe Stöhr <uwestoehr@web.de>
* Format incremented to 489: support to set line thickness, box separation * Format incremented to 489: support to set line thickness, box separation
and shadow size in the box dialog and shadow size in the box dialog
New box parameters: New box parameters:

View File

@ -158,10 +158,11 @@ void GuiBox::on_typeCO_activated(int index)
heightCB->setChecked(false); heightCB->setChecked(false);
setSpecial(ibox); setSpecial(ibox);
} }
if (type != "Boxed") if (type != "Boxed") {
if (type != "Frameless") if (type != "Frameless")
widthCB->setChecked(itype != "none"); widthCB->setChecked(itype != "none");
pagebreakCB->setChecked(false); pagebreakCB->setChecked(false);
}
changed(); changed();
} }