mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
GuiBox: simplification
This commit is contained in:
parent
927136c256
commit
2548e7fd98
@ -183,10 +183,9 @@ void GuiBox::fillComboColor(QComboBox * combo, bool const is_none)
|
||||
}
|
||||
|
||||
|
||||
void GuiBox::on_innerBoxCO_activated(int /* index */)
|
||||
void GuiBox::on_innerBoxCO_activated(int index)
|
||||
{
|
||||
QString itype =
|
||||
innerBoxCO->itemData(innerBoxCO->currentIndex()).toString();
|
||||
QString itype = innerBoxCO->itemData(index).toString();
|
||||
// handle parbox and minipage the same way
|
||||
bool const ibox = (itype != "none" && itype != "makebox");
|
||||
if (heightCB->isChecked() && !ibox)
|
||||
|
Loading…
Reference in New Issue
Block a user