From c0bef59aadd93305d4fc50b34c0560b42a3d5b39 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 20 Jul 2016 07:25:12 -0700 Subject: [PATCH] don't hide commit-trade menuitem when not player's turn --- .../XWords4/src/org/eehouse/android/xw4/BoardDelegate.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java index fb871d0eb..0354cfea5 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java @@ -854,8 +854,7 @@ public class BoardDelegate extends DelegateBase Utils.setItemVisible( menu, R.id.board_menu_trade_cancel, inTrade ); Utils.setItemVisible( menu, R.id.board_menu_trade_commit, - inTrade && m_gsi.tradeTilesSelected - && m_gsi.curTurnSelected ); + inTrade && m_gsi.tradeTilesSelected ); Utils.setItemVisible( menu, R.id.board_menu_game_resign, !inTrade ); if ( !inTrade ) {