mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
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:
parent
15676a062f
commit
efd40b2673
@ -189,8 +189,11 @@ void Dialog::showView()
|
||||
|
||||
if (wantInitialFocus())
|
||||
w->setFocus();
|
||||
else
|
||||
else {
|
||||
lyxview_->raise();
|
||||
lyxview_->activateWindow();
|
||||
lyxview_->setFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user