From 69dd2ac3a7ad0aca958e797d3c3b62c7cf9a617a Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 18 May 2008 13:59:52 +0000 Subject: [PATCH] Ensure the focus is returned to the editing area after a dispatch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24816 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 62207b7c8a..453a3c2ec9 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2019,6 +2019,8 @@ void GuiView::restartCursor() // Take this occasion to update the other GUI elements. updateDialogs(); + // + setFocus(); }