mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
GuiCitation.cpp: fix #5987 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30066 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3d72071bc6
commit
2040fc69df
@ -231,8 +231,14 @@ void GuiCitation::updateFormatting(CiteStyle currentStyle)
|
||||
|
||||
bool const isNocite = currentStyle == NOCITE;
|
||||
|
||||
fulllistCB->setEnabled(natbib_engine && haveSelection && !isNocite);
|
||||
forceuppercaseCB->setEnabled(natbib_engine && haveSelection && !isNocite);
|
||||
bool const isCiteyear =
|
||||
currentStyle == CITEYEAR ||
|
||||
currentStyle == CITEYEARPAR;
|
||||
|
||||
fulllistCB->setEnabled(natbib_engine && haveSelection && !isNocite
|
||||
&& !isCiteyear);
|
||||
forceuppercaseCB->setEnabled(natbib_engine && haveSelection
|
||||
&& !isNocite && !isCiteyear);
|
||||
textBeforeED->setEnabled(!basic_engine && haveSelection && !isNocite);
|
||||
textBeforeLA->setEnabled(!basic_engine && haveSelection && !isNocite);
|
||||
textAfterED->setEnabled(haveSelection && !isNocite);
|
||||
|
Loading…
Reference in New Issue
Block a user