Remove debugging code.

(cherry picked from commit b91e2b9998)
This commit is contained in:
Richard Kimberly Heck 2019-01-06 13:00:21 -05:00
parent 6ac69a78f8
commit 982be56270

View File

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