mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:10:38 +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
ec9ffb8599
commit
f1ae385bee
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…
Add table
Add a link
Reference in a new issue