* release keyboard grab from global menubar again when a new GuiView is created

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23732 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stefan Schimanski 2008-03-14 23:25:24 +00:00
parent d63821939c
commit 9adb5cef26

View File

@ -376,6 +376,9 @@ static void updateIds(map<int, GuiView *> const & stdmap, vector<int> & ids)
void GuiApplication::createView(QString const & geometry_arg)
{
if (global_menubar_)
global_menubar_->releaseKeyboard();
// create new view
updateIds(views_, view_ids_);
int id = 0;