mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Remove debugging code.
This commit is contained in:
parent
9b3f9cc687
commit
b91e2b9998
@ -147,11 +147,9 @@ void GuiRef::enableBoxes()
|
|||||||
{
|
{
|
||||||
bool const isFormatted =
|
bool const isFormatted =
|
||||||
(InsetRef::getName(typeCO->currentIndex()) == "formatted");
|
(InsetRef::getName(typeCO->currentIndex()) == "formatted");
|
||||||
LYXERR0(InsetRef::getName(typeCO->currentIndex()));
|
|
||||||
bool const isLabelOnly =
|
bool const isLabelOnly =
|
||||||
(InsetRef::getName(typeCO->currentIndex()) == "labelonly");
|
(InsetRef::getName(typeCO->currentIndex()) == "labelonly");
|
||||||
bool const usingRefStyle = buffer().params().use_refstyle;
|
bool const usingRefStyle = buffer().params().use_refstyle;
|
||||||
LYXERR0(usingRefStyle);
|
|
||||||
pluralCB->setEnabled(isFormatted && usingRefStyle);
|
pluralCB->setEnabled(isFormatted && usingRefStyle);
|
||||||
capsCB->setEnabled(isFormatted && usingRefStyle);
|
capsCB->setEnabled(isFormatted && usingRefStyle);
|
||||||
noprefixCB->setEnabled(isLabelOnly);
|
noprefixCB->setEnabled(isLabelOnly);
|
||||||
|
Loading…
Reference in New Issue
Block a user