mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
Avoid relocking game after downloading: don't set lock checkbox
in onResume() unless it's the first time through.
This commit is contained in:
parent
3c30cbd23a
commit
20ec6dd011
1 changed files with 7 additions and 4 deletions
|
@ -417,10 +417,13 @@ public class GameConfig extends XWActivity
|
|||
m_giOrig.setInProgress( m_gameStarted );
|
||||
|
||||
if ( m_gameStarted ) {
|
||||
m_gameLockedCheck = (CheckBox)findViewById( R.id.game_locked_check );
|
||||
m_gameLockedCheck.setVisibility( View.VISIBLE );
|
||||
m_gameLockedCheck.setChecked( true );
|
||||
m_gameLockedCheck.setOnClickListener( this );
|
||||
if ( null == m_gameLockedCheck ) {
|
||||
m_gameLockedCheck =
|
||||
(CheckBox)findViewById( R.id.game_locked_check );
|
||||
m_gameLockedCheck.setVisibility( View.VISIBLE );
|
||||
m_gameLockedCheck.setChecked( true );
|
||||
m_gameLockedCheck.setOnClickListener( this );
|
||||
}
|
||||
handleLockedChange();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue