Remove debugging code.

This commit is contained in:
Richard Kimberly Heck 2019-01-06 13:00:21 -05:00
parent 9b3f9cc687
commit b91e2b9998

View File

@ -147,11 +147,9 @@ void GuiRef::enableBoxes()
{ {
bool const isFormatted = bool const isFormatted =
(InsetRef::getName(typeCO->currentIndex()) == "formatted"); (InsetRef::getName(typeCO->currentIndex()) == "formatted");
LYXERR0(InsetRef::getName(typeCO->currentIndex()));
bool const isLabelOnly = bool const isLabelOnly =
(InsetRef::getName(typeCO->currentIndex()) == "labelonly"); (InsetRef::getName(typeCO->currentIndex()) == "labelonly");
bool const usingRefStyle = buffer().params().use_refstyle; bool const usingRefStyle = buffer().params().use_refstyle;
LYXERR0(usingRefStyle);
pluralCB->setEnabled(isFormatted && usingRefStyle); pluralCB->setEnabled(isFormatted && usingRefStyle);
capsCB->setEnabled(isFormatted && usingRefStyle); capsCB->setEnabled(isFormatted && usingRefStyle);
noprefixCB->setEnabled(isLabelOnly); noprefixCB->setEnabled(isLabelOnly);