mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* GuiRef.cpp:
- The GuiRef dialog does not respond to keyboard events if the reference list is empty. This is because the reference list has the focus proxy and is disabled when the list is empty. Therefore I removed the focus proxy from the list if it is disabled. (patch from Vincent) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26345 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d00594931c
commit
8c097556d5
@ -361,6 +361,8 @@ void GuiRef::updateRefs()
|
||||
buf->getLabelList(refs_);
|
||||
sortCB->setEnabled(!refs_.empty());
|
||||
refsLW->setEnabled(!refs_.empty());
|
||||
// refsLW should only be the focus proxy when it is enabled
|
||||
setFocusProxy(refs_.empty() ? 0 : refsLW);
|
||||
gotoPB->setEnabled(!refs_.empty());
|
||||
redoRefs();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user