make newFrom highlight the new game; make reset preserve the selection

This commit is contained in:
Eric House 2013-10-24 19:20:20 -07:00
parent 33252c929c
commit 73e1ac0a93

View file

@ -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;