From: Uwe Stöhr Date: Mon, 11 May 2015 20:16:36 +0000 (+0200) Subject: GuiBox.cpp: re-add lost braces X-Git-Tag: 2.2.0alpha1~861 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=335ccee3b506df4d10014dc6760b6e2939f996d3;p=features.git GuiBox.cpp: re-add lost braces - FORMAT: add date --- diff --git a/development/FORMAT b/development/FORMAT index 058e382b53..e4dda6efac 100644 --- a/development/FORMAT +++ b/development/FORMAT @@ -11,7 +11,7 @@ adjustments are made to tex2lyx and bugs are fixed in lyx2lyx. ----------------------- -2015-05-xx Uwe Stöhr +2015-05-11 Uwe Stöhr * Format incremented to 489: support to set line thickness, box separation and shadow size in the box dialog New box parameters: diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp index c5244d0116..ac5856ded8 100644 --- a/src/frontends/qt4/GuiBox.cpp +++ b/src/frontends/qt4/GuiBox.cpp @@ -158,10 +158,11 @@ void GuiBox::on_typeCO_activated(int index) heightCB->setChecked(false); setSpecial(ibox); } - if (type != "Boxed") + if (type != "Boxed") { if (type != "Frameless") widthCB->setChecked(itype != "none"); pagebreakCB->setChecked(false); + } changed(); }