mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Give focus to the filter in GuiRef
This is now consistent with GuiCitation. Compared to the previous behaviour there is only one down key press difference.
This commit is contained in:
parent
750c48eda3
commit
06416763ac
@ -130,6 +130,8 @@ GuiRef::GuiRef(GuiView & lv)
|
||||
|
||||
restored_buffer_ = -1;
|
||||
active_buffer_ = -1;
|
||||
|
||||
setFocusProxy(filter_);
|
||||
}
|
||||
|
||||
|
||||
@ -539,8 +541,6 @@ void GuiRef::updateRefs()
|
||||
sortingCO->setEnabled(!refs_.empty());
|
||||
refsTW->setEnabled(!refs_.empty());
|
||||
groupCB->setEnabled(!refs_.empty());
|
||||
// refsTW should only be the focus proxy when it is enabled
|
||||
setFocusProxy(refs_.empty() ? 0 : refsTW);
|
||||
redoRefs();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user