LFUN_UI_TOGGLE: make sure the keyboard focus stays in the work area. Should fix the focus problems under MacOS.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23078 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-02-20 15:11:47 +00:00
parent 9bb7f03835
commit 7d6ee1572e

View File

@ -1811,6 +1811,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
case LFUN_UI_TOGGLE:
lfunUiToggle(cmd);
// Make sure the keyboard focus stays in the work area.
setFocus();
break;
default: