mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
Fixed bug which was crashing the save panel when run from the menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5271 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
95f2a31cd2
commit
5033ecc883
1 changed files with 2 additions and 0 deletions
|
@ -787,6 +787,8 @@ static float GSMenuBarHeight = 25.0; // A wild guess.
|
|||
// Perform actions as needed.
|
||||
if (index != -1 && !alreadyAttachedMenu)
|
||||
{
|
||||
// Stop the periodic events before performing the action
|
||||
[NSEvent stopPeriodicEvents];
|
||||
[menuv_menu performActionForItemAtIndex: index];
|
||||
|
||||
if (![menuv_menu isFollowTransient])
|
||||
|
|
Loading…
Reference in a new issue