]> git.lyx.org Git - features.git/commitdiff
* comment
authorStefan Schimanski <sts@lyx.org>
Fri, 14 Mar 2008 23:31:44 +0000 (23:31 +0000)
committerStefan Schimanski <sts@lyx.org>
Fri, 14 Mar 2008 23:31:44 +0000 (23:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23740 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiApplication.cpp

index 0eef683fdcc7665c8de83c4eb5e1e60d8d7ed80c..eac82e48431e03fe7c2ca1fe946798abc7f096da 100644 (file)
@@ -378,6 +378,8 @@ static void updateIds(map<int, GuiView *> const & stdmap, vector<int> & ids)
 
 void GuiApplication::createView(QString const & geometry_arg)
 {
+       // release the keyboard which might have been grabed by the global
+       // menubar on Mac to catch shortcuts even without any GuiView.
        if (global_menubar_)
                global_menubar_->releaseKeyboard();