mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
disable reset for options menu too (same as delete)
This commit is contained in:
parent
7a865f279b
commit
a1de8cdd01
1 changed files with 1 additions and 2 deletions
|
@ -1407,12 +1407,11 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
enable = enable && !m_launchedGames.contains( row );
|
enable = enable && !m_launchedGames.contains( row );
|
||||||
}
|
}
|
||||||
Utils.setItemVisible( menu, R.id.games_game_delete, enable );
|
Utils.setItemVisible( menu, R.id.games_game_delete, enable );
|
||||||
|
Utils.setItemVisible( menu, R.id.games_game_reset, enable );
|
||||||
|
|
||||||
// multiple games can be regrouped/reset.
|
// multiple games can be regrouped/reset.
|
||||||
Utils.setItemVisible( menu, R.id.games_game_move,
|
Utils.setItemVisible( menu, R.id.games_game_move,
|
||||||
0 < nGamesSelected );
|
0 < nGamesSelected );
|
||||||
Utils.setItemVisible( menu, R.id.games_game_reset,
|
|
||||||
0 < nGamesSelected );
|
|
||||||
|
|
||||||
// Hide rate-me if not a google play app
|
// Hide rate-me if not a google play app
|
||||||
enable = nothingSelected && Utils.isGooglePlayApp( m_activity );
|
enable = nothingSelected && Utils.isGooglePlayApp( m_activity );
|
||||||
|
|
Loading…
Reference in a new issue