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
This commit is contained in:
Abdelrazak Younes 2008-06-09 15:33:42 +00:00
parent 15676a062f
commit efd40b2673

View File

@ -189,8 +189,11 @@ void Dialog::showView()
if (wantInitialFocus())
w->setFocus();
else
else {
lyxview_->raise();
lyxview_->activateWindow();
lyxview_->setFocus();
}
}