From: Abdelrazak Younes Date: Tue, 27 May 2008 17:29:36 +0000 (+0000) Subject: bug fix with minibuffer focus. X-Git-Tag: 1.6.10~4652 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=891cfdda68b01179b52862d14e744b026f4c819f;p=features.git bug fix with minibuffer focus. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24966 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index 852a4707af..565a4fcf75 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -1760,8 +1760,8 @@ bool GuiView::dispatch(FuncRequest const & cmd) // hardcoded. if (GuiToolbar * t = toolbar("minibuffer")) { t->setVisible(show_it); - LASSERT(t->commandBuffer(), break); - t->commandBuffer()->setFocus(); + if (show_it && t->commandBuffer()) + t->commandBuffer()->setFocus(); } break; }