mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:50:40 +00:00
Release mouse before invoking menu action
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f2f365acfb
commit
dbc85d3b9a
2 changed files with 9 additions and 0 deletions
|
@ -1773,6 +1773,9 @@ static NSMapTable *viewInfo = 0;
|
|||
return YES;
|
||||
}
|
||||
|
||||
// Before executing the action, uncapture the mouse
|
||||
[_window _releaseMouse: self];
|
||||
|
||||
if([self _executeItemAtIndex: indexOfActionToExecute
|
||||
removeSubmenu: subMenusNeedRemoving] == NO)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue