don't enable delete of newly-configured game

Wasn't recording as open a game created then opened via the
configure-first option so the delete menuitem was being left enabled.
This commit is contained in:
Eric House 2016-08-15 14:14:14 -07:00
parent 8fdc2b90ea
commit 71ac6062f1
2 changed files with 1 additions and 2 deletions

View file

@ -791,7 +791,6 @@ public class GameConfigDelegate extends DelegateBase
{ {
if ( !m_haveClosed ) { if ( !m_haveClosed ) {
m_haveClosed = true; m_haveClosed = true;
DbgUtils.logf( "GameConfigDelegate.finishAndLaunch()" );
Intent intent = new Intent(); Intent intent = new Intent();
intent.putExtra( GameUtils.INTENT_KEY_ROWID, m_rowid ); intent.putExtra( GameUtils.INTENT_KEY_ROWID, m_rowid );
setResult( Activity.RESULT_OK, intent ); setResult( Activity.RESULT_OK, intent );

View file

@ -1350,7 +1350,7 @@ public class GamesListDelegate extends ListDelegateBase
if ( !cancelled ) { if ( !cancelled ) {
long rowID = data.getLongExtra( GameUtils.INTENT_KEY_ROWID, long rowID = data.getLongExtra( GameUtils.INTENT_KEY_ROWID,
DBUtils.ROWID_NOTFOUND ); DBUtils.ROWID_NOTFOUND );
GameUtils.launchGame( getDelegator(), rowID ); launchGame( rowID );
} }
break; break;
} }