From 21259b66b5d36913aaf4dcded8aaac3254b04354 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 7 Jan 2017 17:26:06 -0500 Subject: [PATCH] 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. --- src/frontends/qt4/GuiRef.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5