void GuiPrintNomencl::on_setWidthCO_activated(int i)
{
bool const custom =
- (setWidthCO->itemData(i).toString()
- == "custom");
+ (setWidthCO->itemData(i).toString() == "custom");
valueLE->setEnabled(custom);
unitLC->setEnabled(custom);
valueLA->setEnabled(custom);
setWidthCO->setCurrentIndex(
setWidthCO->findData(toqstr(params["set_width"])));
- lengthToWidgets(valueLE,
- unitLC,
- params["width"],
- Length::defaultUnit());
+ lengthToWidgets(valueLE, unitLC,
+ params["width"], Length::defaultUnit());
+
+ bool const custom =
+ (setWidthCO->itemData(setWidthCO->currentIndex()).toString() == "custom");
+ valueLE->setEnabled(custom);
+ unitLC->setEnabled(custom);
+ valueLA->setEnabled(custom);
}
- Fix display of section (etc) headings, in both TOC and menu, when there is
math in the title.
+- Correct handling of custom width in the nomenclature dialog (bug 7853).
+
* ADVANCED FIND AND REPLACE