mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
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:
parent
8fdc2b90ea
commit
71ac6062f1
2 changed files with 1 additions and 2 deletions
|
@ -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 );
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue