mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
show loadDB menuitem only when nothing's selected
This commit is contained in:
parent
45ace48490
commit
923ac6db98
1 changed files with 2 additions and 1 deletions
|
@ -672,7 +672,8 @@ public class GamesList extends XWExpandableListActivity
|
|||
|| XWPrefs.getDebugEnabled( this );
|
||||
showItemsIf( DEBUG_ITEMS, menu, nothingSelected && showDbg );
|
||||
Utils.setItemVisible( menu, R.id.games_menu_loaddb,
|
||||
showDbg && DBUtils.gameDBExists( this ) );
|
||||
showDbg && nothingSelected &&
|
||||
DBUtils.gameDBExists( this ) );
|
||||
|
||||
showItemsIf( NOSEL_ITEMS, menu, nothingSelected );
|
||||
showItemsIf( ONEGAME_ITEMS, menu, 1 == nGamesSelected );
|
||||
|
|
Loading…
Reference in a new issue