mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 13:31:56 +00:00
Fixes to menu code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4632 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2e3c92ba3c
commit
1460f5b1f5
3 changed files with 17 additions and 3 deletions
|
@ -660,11 +660,14 @@ cell do the following */
|
|||
|
||||
[self setHighlightedItemIndex: -1];
|
||||
|
||||
if ([selectedCell action] && ![selectedCell target])
|
||||
// if ([selectedCell action] && ![selectedCell target])
|
||||
if (menuv_menu)
|
||||
[menuv_menu performActionForItem:
|
||||
[menuv_items_link objectAtIndex: lastIndex]];
|
||||
else if ([selectedCell action] && [selectedCell target])
|
||||
|
||||
if (menuv_popb)
|
||||
[menuv_popb performSelector:[selectedCell action] withObject:selectedCell];
|
||||
// else if ([selectedCell action] && [selectedCell target])
|
||||
|
||||
/* If we are a menu */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue