mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
bug fix with minibuffer focus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24966 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
43c7e56ef2
commit
891cfdda68
@ -1760,8 +1760,8 @@ bool GuiView::dispatch(FuncRequest const & cmd)
|
|||||||
// hardcoded.
|
// hardcoded.
|
||||||
if (GuiToolbar * t = toolbar("minibuffer")) {
|
if (GuiToolbar * t = toolbar("minibuffer")) {
|
||||||
t->setVisible(show_it);
|
t->setVisible(show_it);
|
||||||
LASSERT(t->commandBuffer(), break);
|
if (show_it && t->commandBuffer())
|
||||||
t->commandBuffer()->setFocus();
|
t->commandBuffer()->setFocus();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user