Allow use of noprefix option even if we're not using refstyle.

I'm not sure why that would be useful, but there's no reason not
to allow it.
This commit is contained in:
Richard Heck 2017-01-07 17:26:06 -05:00
parent d29bb7fac7
commit 21259b66b5

View File

@ -143,8 +143,8 @@ void GuiRef::enableBoxes()
(InsetRef::getName(typeCO->currentIndex()) == "labelonly");
bool const usingRefStyle = buffer().params().use_refstyle;
pluralCB->setEnabled(isFormatted && usingRefStyle);
capsCB->setEnabled (isFormatted && usingRefStyle);
noprefixCB->setEnabled (isLabelOnly && usingRefStyle);
capsCB->setEnabled(isFormatted && usingRefStyle);
noprefixCB->setEnabled(isLabelOnly);
}