mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Disable literal cb if there is nothing to latexify.
This commit is contained in:
parent
06af852293
commit
517ca4f1cc
@ -299,6 +299,7 @@ void GuiCitation::updateFormatting(CitationStyle currentStyle)
|
|||||||
textBeforeLA->setEnabled(textbefore && haveSelection);
|
textBeforeLA->setEnabled(textbefore && haveSelection);
|
||||||
textAfterED->setEnabled(textafter && haveSelection);
|
textAfterED->setEnabled(textafter && haveSelection);
|
||||||
textAfterLA->setEnabled(textafter && haveSelection);
|
textAfterLA->setEnabled(textafter && haveSelection);
|
||||||
|
literalCB->setEnabled(textbefore || textafter);
|
||||||
citationStyleCO->setEnabled(haveSelection);
|
citationStyleCO->setEnabled(haveSelection);
|
||||||
citationStyleLA->setEnabled(haveSelection);
|
citationStyleLA->setEnabled(haveSelection);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user