From efd40b26735adaf4fde5e08757836f7304ae36f4 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 9 Jun 2008 15:33:42 +0000 Subject: [PATCH] Outline focus fix for mac: Make sure the GuiView is raised and activated before setting the focus. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25216 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/Dialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/Dialog.cpp b/src/frontends/qt4/Dialog.cpp index 801abd2ef8..f608e75d40 100644 --- a/src/frontends/qt4/Dialog.cpp +++ b/src/frontends/qt4/Dialog.cpp @@ -189,8 +189,11 @@ void Dialog::showView() if (wantInitialFocus()) w->setFocus(); - else + else { + lyxview_->raise(); + lyxview_->activateWindow(); lyxview_->setFocus(); + } } -- 2.39.2