mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
parent
2900f93c81
commit
26755a015e
@ -340,7 +340,7 @@ void GuiBox::paramsToDialog(Inset const * inset)
|
||||
// add the entry "Stretch" if the box is \makebox or \framebox and if not already there
|
||||
if ((inner_type == "makebox" || (type == "Boxed" && inner_type == "none"))
|
||||
&& halignCO->count() < 4)
|
||||
halignCO->addItem(toqstr("Stretch"));
|
||||
halignCO->addItem(qt_("Stretch"));
|
||||
else if (inner_type != "makebox" && (type != "Boxed" && inner_type != "none"))
|
||||
halignCO->removeItem(3);
|
||||
// pagebreak is only allowed for Boxed without inner box
|
||||
@ -555,7 +555,7 @@ bool GuiBox::checkWidgets(bool readonly) const
|
||||
// add the entry "Stretch" if the box is \makebox or \framebox and if not already there
|
||||
if ((itype == "makebox" || (outer == "Boxed" && itype == "none"))
|
||||
&& halignCO->count() < 4)
|
||||
halignCO->addItem(toqstr("Stretch"));
|
||||
halignCO->addItem(qt_("Stretch"));
|
||||
else if (itype != "makebox" && (outer != "Boxed" && itype != "none"))
|
||||
halignCO->removeItem(3);
|
||||
// pagebreak is only allowed for Boxed without inner box
|
||||
|
Loading…
Reference in New Issue
Block a user