From: Richard Heck Date: Sat, 7 Jan 2017 22:26:06 +0000 (-0500) Subject: Allow use of noprefix option even if we're not using refstyle. X-Git-Tag: 2.3.0alpha1~505^2 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=21259b66b5d36913aaf4dcded8aaac3254b04354;p=features.git 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. --- diff --git a/src/frontends/qt4/GuiRef.cpp b/src/frontends/qt4/GuiRef.cpp index f8e7544918..58aa435efa 100644 --- a/src/frontends/qt4/GuiRef.cpp +++ b/src/frontends/qt4/GuiRef.cpp @@ -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); }