commit 2548e7fd98cad7a6f1fc65c9d4d32230a3bcd6ca
Author: Juergen Spitzmueller <[email protected]>
Date: Mon May 18 13:05:28 2015 +0200
GuiBox: simplification
diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp
index da2abe8..ad49cad 100644
--- a/src/frontends/qt4/GuiBox.cpp
+++ b/src/frontends/qt4/GuiBox.cpp
@@ -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)