mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
change ID of duplicate menu
Board and Games List were using same menuid which meant that even when chosen from Board's menu it would up getting handled by GamesList (in dual-pane mode.)
This commit is contained in:
parent
d3b9a98518
commit
79e852a9eb
2 changed files with 3 additions and 3 deletions
|
@ -840,7 +840,7 @@ public class BoardDelegate extends DelegateBase
|
|||
Utils.setItemVisible( menu, R.id.board_menu_game_invites, enable );
|
||||
|
||||
enable = XWPrefs.getStudyEnabled( m_activity );
|
||||
Utils.setItemVisible( menu, R.id.games_menu_study, enable );
|
||||
Utils.setItemVisible( menu, R.id.board_menu_study, enable );
|
||||
|
||||
return true;
|
||||
} // onPrepareOptionsMenu
|
||||
|
@ -910,7 +910,7 @@ public class BoardDelegate extends DelegateBase
|
|||
case R.id.board_menu_tray:
|
||||
cmd = JNICmd.CMD_TOGGLE_TRAY;
|
||||
break;
|
||||
case R.id.games_menu_study:
|
||||
case R.id.board_menu_study:
|
||||
StudyListDelegate.launchOrAlert( getDelegator(), m_gi.dictLang, this );
|
||||
break;
|
||||
case R.id.board_menu_game_netstats:
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
</menu>
|
||||
</item>
|
||||
|
||||
<item android:id="@+id/games_menu_study"
|
||||
<item android:id="@+id/board_menu_study"
|
||||
android:title="@string/gamel_menu_study"
|
||||
/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue