init room name to current text -- duh! -- preventing close process

from thinking a change has been made (room name nulled) when none had
been.
This commit is contained in:
Andy2 2010-11-04 06:36:28 -07:00
parent c630697c59
commit 9c48c91156

View file

@ -403,17 +403,23 @@ public class GameConfig extends XWActivity
m_notNetworkedGame = DeviceRole.SERVER_STANDALONE == m_gi.serverRole;
if ( !m_notNetworkedGame ) {
m_joinPublicCheck = (CheckBox)findViewById(R.id.join_public_room_check);
m_joinPublicCheck =
(CheckBox)findViewById(R.id.join_public_room_check);
m_joinPublicCheck.setOnClickListener( this );
m_joinPublicCheck.setChecked( m_car.ip_relay_seeksPublicRoom );
Utils.setChecked( this, R.id.advertise_new_room_check,
m_car.ip_relay_advertiseRoom );
m_publicRoomsSet = (LinearLayout)findViewById(R.id.public_rooms_set );
m_privateRoomsSet = (LinearLayout)findViewById(R.id.private_rooms_set );
m_publicRoomsSet =
(LinearLayout)findViewById(R.id.public_rooms_set );
m_privateRoomsSet =
(LinearLayout)findViewById(R.id.private_rooms_set );
Utils.setText( this, R.id.room_edit, m_car.ip_relay_invite );
m_roomChoose = (Spinner)findViewById( R.id.room_spinner );
m_refreshRoomsButton = (ImageButton)findViewById( R.id.refresh_button );
m_refreshRoomsButton =
(ImageButton)findViewById( R.id.refresh_button );
m_refreshRoomsButton.setOnClickListener( this );
adjustConnectStuff();