]> git.lyx.org Git - features.git/commitdiff
Disable literal cb if there is nothing to latexify.
authorJuergen Spitzmueller <spitz@lyx.org>
Sun, 5 Feb 2017 14:43:01 +0000 (15:43 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sun, 5 Feb 2017 14:43:01 +0000 (15:43 +0100)
src/frontends/qt4/GuiCitation.cpp

index d45c27db12173f1682d7894087a0d674ce266d07..28d5dcf63830c0a145b893dadda092bde9b2068a 100644 (file)
@@ -299,6 +299,7 @@ void GuiCitation::updateFormatting(CitationStyle currentStyle)
        textBeforeLA->setEnabled(textbefore && haveSelection);
        textAfterED->setEnabled(textafter && haveSelection);
        textAfterLA->setEnabled(textafter && haveSelection);
+       literalCB->setEnabled(textbefore || textafter);
        citationStyleCO->setEnabled(haveSelection);
        citationStyleLA->setEnabled(haveSelection);