mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
GuiRef: only enable "Group" CB if non-empty refs
This commit is contained in:
parent
21d1f97cad
commit
b75ecdfaf0
@ -462,6 +462,7 @@ void GuiRef::updateRefs()
|
|||||||
sortCB->setEnabled(!refs_.empty());
|
sortCB->setEnabled(!refs_.empty());
|
||||||
caseSensitiveCB->setEnabled(sortCB->isEnabled() && sortCB->isChecked());
|
caseSensitiveCB->setEnabled(sortCB->isEnabled() && sortCB->isChecked());
|
||||||
refsTW->setEnabled(!refs_.empty());
|
refsTW->setEnabled(!refs_.empty());
|
||||||
|
groupCB->setEnabled(!refs_.empty());
|
||||||
// refsTW should only be the focus proxy when it is enabled
|
// refsTW should only be the focus proxy when it is enabled
|
||||||
setFocusProxy(refs_.empty() ? 0 : refsTW);
|
setFocusProxy(refs_.empty() ? 0 : refsTW);
|
||||||
gotoPB->setEnabled(!refs_.empty());
|
gotoPB->setEnabled(!refs_.empty());
|
||||||
|
Loading…
Reference in New Issue
Block a user