Merge lp:~xzcvczx/kicad/clarify-menu-fix into lp:kicad

This commit is contained in:
Maciej Suminski 2015-10-07 15:57:51 +02:00
commit 53cd964910
1 changed files with 2 additions and 0 deletions

View File

@ -812,6 +812,8 @@ BOARD_ITEM* SELECTION_TOOL::disambiguationMenu( GENERAL_COLLECTOR* aCollector )
// User has selected an item, so this one will be returned // User has selected an item, so this one will be returned
if( id && ( *id > 0 ) ) if( id && ( *id > 0 ) )
current = ( *aCollector )[*id - 1]; current = ( *aCollector )[*id - 1];
else
current = NULL;
break; break;
} }