mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +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());
|
||||
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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user