mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix crash using wrong widget id
This commit is contained in:
parent
a83fbfebe2
commit
a672728305
1 changed files with 1 additions and 2 deletions
|
@ -919,8 +919,7 @@ public class GameConfigDelegate extends DelegateBase
|
|||
// PENDING pass only types, not full addr. Types are defaults
|
||||
// we can insert later.
|
||||
intent.putExtra( INTENT_KEY_SADDR, m_car );
|
||||
// Game name should be a field in this layout
|
||||
EditText et = (EditText)findViewById( R.id.name_edit );
|
||||
EditText et = (EditText)findViewById( R.id.game_name_edit );
|
||||
intent.putExtra( INTENT_KEY_NAME, et.getText().toString() );
|
||||
} else {
|
||||
intent.putExtra( GameUtils.INTENT_KEY_ROWID, m_rowid );
|
||||
|
|
Loading…
Add table
Reference in a new issue