]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiCitation.cpp
Disable literal cb if there is nothing to latexify.
[lyx.git] / 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);