From b75ecdfaf032d210a6cd5391aacdf5704d5b483f Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Fri, 19 Apr 2013 22:39:17 -0400 Subject: [PATCH] GuiRef: only enable "Group" CB if non-empty refs --- src/frontends/qt4/GuiRef.cpp | 1 + 1 file changed, 1 insertion(+) 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());