From 9558962c4f78a41e5b95ace0c60974d11d82c64c Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 30 May 2008 12:13:42 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/TocWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); } -- 2.39.2