mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
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:
parent
c630697c59
commit
9c48c91156
1 changed files with 10 additions and 4 deletions
|
@ -403,17 +403,23 @@ public class GameConfig extends XWActivity
|
||||||
m_notNetworkedGame = DeviceRole.SERVER_STANDALONE == m_gi.serverRole;
|
m_notNetworkedGame = DeviceRole.SERVER_STANDALONE == m_gi.serverRole;
|
||||||
|
|
||||||
if ( !m_notNetworkedGame ) {
|
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.setOnClickListener( this );
|
||||||
m_joinPublicCheck.setChecked( m_car.ip_relay_seeksPublicRoom );
|
m_joinPublicCheck.setChecked( m_car.ip_relay_seeksPublicRoom );
|
||||||
Utils.setChecked( this, R.id.advertise_new_room_check,
|
Utils.setChecked( this, R.id.advertise_new_room_check,
|
||||||
m_car.ip_relay_advertiseRoom );
|
m_car.ip_relay_advertiseRoom );
|
||||||
m_publicRoomsSet = (LinearLayout)findViewById(R.id.public_rooms_set );
|
m_publicRoomsSet =
|
||||||
m_privateRoomsSet = (LinearLayout)findViewById(R.id.private_rooms_set );
|
(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_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 );
|
m_refreshRoomsButton.setOnClickListener( this );
|
||||||
|
|
||||||
adjustConnectStuff();
|
adjustConnectStuff();
|
||||||
|
|
Loading…
Add table
Reference in a new issue