From: Scott Kostyshak Date: Sat, 20 Apr 2013 02:39:17 +0000 (-0400) Subject: GuiRef: only enable "Group" CB if non-empty refs X-Git-Tag: 2.1.0beta1~358 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b75ecdfaf032d210a6cd5391aacdf5704d5b483f;p=features.git GuiRef: only enable "Group" CB if non-empty refs --- diff --git a/src/frontends/qt4/GuiRef.cpp b/src/frontends/qt4/GuiRef.cpp index d3f68d5ed9..141c67bc13 100644 --- a/src/frontends/qt4/GuiRef.cpp +++ b/src/frontends/qt4/GuiRef.cpp @@ -462,6 +462,7 @@ void GuiRef::updateRefs() sortCB->setEnabled(!refs_.empty()); caseSensitiveCB->setEnabled(sortCB->isEnabled() && sortCB->isChecked()); refsTW->setEnabled(!refs_.empty()); + groupCB->setEnabled(!refs_.empty()); // refsTW should only be the focus proxy when it is enabled setFocusProxy(refs_.empty() ? 0 : refsTW); gotoPB->setEnabled(!refs_.empty());