mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +00:00
Changed checking for highlighted item
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18405 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e5665fbdda
commit
c33ef3101f
1 changed files with 1 additions and 1 deletions
|
@ -1272,7 +1272,7 @@ _addLeftBorderOffsetToRect(NSRect aRect)
|
|||
* case that we choose an action in a transient window which
|
||||
* has already dissappeared.
|
||||
*/
|
||||
if (indexOfActionToExecute == _highlightedItemIndex)
|
||||
if (_highlightedItemIndex >= 0)
|
||||
{
|
||||
[self setHighlightedItemIndex: -1];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue