Remove setAction for _popUpItemAction: from insertItem:atIndex:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36017 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2013-01-25 00:47:51 +00:00
parent e370aab73b
commit 4f8b519eb3
2 changed files with 9 additions and 3 deletions

View file

@ -426,9 +426,9 @@ static NSImage *_pbc_image[5];
//[anItem setAction: [self action]];
//[anItem setTarget: [self target]];
// Or
[anItem setAction: @selector(_popUpItemAction:)];
[anItem setTarget: self];
//[anItem setAction: @selector(_popUpItemAction:)];
//[anItem setTarget: self];
// Select the new item if there isn't any selection.
if (_selectedItem == nil)
{