mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
fix test that allowed deleting new-games group
This commit is contained in:
parent
148286313f
commit
65102c2114
1 changed files with 1 additions and 1 deletions
|
@ -2166,7 +2166,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
switch( itemID ) {
|
||||
case R.id.games_group_delete:
|
||||
long dftGroup = XWPrefs.getDefaultNewGameGroup( m_activity );
|
||||
if ( m_mySIS.selGroupIDs.contains( dftGroup ) ) {
|
||||
if ( groupID == dftGroup ) {
|
||||
msg = getString( R.string.cannot_delete_default_group_fmt,
|
||||
m_adapter.groupName( dftGroup ) );
|
||||
makeOkOnlyBuilder( msg ).show();
|
||||
|
|
Loading…
Add table
Reference in a new issue