mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Reset the focus on the work area after using on any navigator gui control.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25008 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9cbe8c06f6
commit
9558962c4f
@ -108,6 +108,7 @@ void TocWidget::on_depthSL_valueChanged(int depth)
|
||||
if (depth == depth_)
|
||||
return;
|
||||
setTreeDepth(depth);
|
||||
gui_view_.setFocus();
|
||||
}
|
||||
|
||||
|
||||
@ -147,6 +148,7 @@ void TocWidget::outline(int func_code)
|
||||
goTo(list[0]);
|
||||
dispatch(FuncRequest(static_cast<FuncCode>(func_code)));
|
||||
enableControls(true);
|
||||
gui_view_.setFocus();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user