mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
make newFrom highlight the new game; make reset preserve the selection
This commit is contained in:
parent
33252c929c
commit
73e1ac0a93
1 changed files with 2 additions and 0 deletions
|
@ -598,6 +598,7 @@ public class GamesList extends XWExpandableListActivity
|
|||
case NEW_FROM:
|
||||
long curID = (Long)params[0];
|
||||
long newid = GameUtils.dupeGame( GamesList.this, curID );
|
||||
m_selGames.add( newid );
|
||||
if ( null != m_adapter ) {
|
||||
m_adapter.inval( newid );
|
||||
}
|
||||
|
@ -831,6 +832,7 @@ public class GamesList extends XWExpandableListActivity
|
|||
break;
|
||||
|
||||
case R.id.list_item_reset:
|
||||
keepSels = true;
|
||||
showConfirmThen( R.string.confirm_reset, R.string.button_reset,
|
||||
GamesActions.RESET_GAMES.ordinal(), selRowIDs );
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue