disable reset for options menu too (same as delete)

This commit is contained in:
Eric House 2016-07-22 16:35:46 -07:00
parent 7a865f279b
commit a1de8cdd01

View file

@ -1407,12 +1407,11 @@ public class GamesListDelegate extends ListDelegateBase
enable = enable && !m_launchedGames.contains( row );
}
Utils.setItemVisible( menu, R.id.games_game_delete, enable );
Utils.setItemVisible( menu, R.id.games_game_reset, enable );
// multiple games can be regrouped/reset.
Utils.setItemVisible( menu, R.id.games_game_move,
0 < nGamesSelected );
Utils.setItemVisible( menu, R.id.games_game_reset,
0 < nGamesSelected );
// Hide rate-me if not a google play app
enable = nothingSelected && Utils.isGooglePlayApp( m_activity );