From a1de8cdd01693608b7d8b5a9a395ddec8f34dc36 Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 22 Jul 2016 16:35:46 -0700 Subject: [PATCH] disable reset for options menu too (same as delete) --- .../XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java index f3729d4da..64b5d9c78 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java @@ -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 );