mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
parent
6ac69a78f8
commit
982be56270
@ -150,11 +150,9 @@ void GuiRef::enableBoxes()
|
||||
{
|
||||
bool const isFormatted =
|
||||
(InsetRef::getName(typeCO->currentIndex()) == "formatted");
|
||||
LYXERR0(InsetRef::getName(typeCO->currentIndex()));
|
||||
bool const isLabelOnly =
|
||||
(InsetRef::getName(typeCO->currentIndex()) == "labelonly");
|
||||
bool const usingRefStyle = buffer().params().use_refstyle;
|
||||
LYXERR0(usingRefStyle);
|
||||
pluralCB->setEnabled(isFormatted && usingRefStyle);
|
||||
capsCB->setEnabled(isFormatted && usingRefStyle);
|
||||
noprefixCB->setEnabled(isLabelOnly);
|
||||
|
Loading…
Reference in New Issue
Block a user