]> git.lyx.org Git - features.git/commitdiff
Allow use of noprefix option even if we're not using refstyle.
authorRichard Heck <rgheck@lyx.org>
Sat, 7 Jan 2017 22:26:06 +0000 (17:26 -0500)
committerRichard Heck <rgheck@lyx.org>
Sat, 7 Jan 2017 22:26:06 +0000 (17:26 -0500)
I'm not sure why that would be useful, but there's no reason not
to allow it.

src/frontends/qt4/GuiRef.cpp

index f8e75449180b45b72384cf1e70825639acadcfca..58aa435efaa5ab4d039fe49522cce2e910a8db28 100644 (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);
 }