From: Abdelrazak Younes Date: Fri, 30 May 2008 12:13:42 +0000 (+0000) Subject: Reset the focus on the work area after using on any navigator gui control. X-Git-Tag: 1.6.10~4616 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9558962c4f78a41e5b95ace0c60974d11d82c64c;p=features.git 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 --- diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 823de4de23..a529337da3 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -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(func_code))); enableControls(true); + gui_view_.setFocus(); }