mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
This commit is contained in:
parent
45c632b735
commit
cc39953358
1 changed files with 9 additions and 1 deletions
|
@ -102,6 +102,14 @@ public class GameListItem extends LinearLayout
|
|||
setName();
|
||||
}
|
||||
|
||||
public void setSelected( boolean selected )
|
||||
{
|
||||
// If new value and state not in sync, force change in state
|
||||
if ( selected != (null != m_origDrawable) ) {
|
||||
toggleSelected();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDraw( Canvas canvas )
|
||||
{
|
||||
|
@ -321,7 +329,7 @@ public class GameListItem extends LinearLayout
|
|||
}
|
||||
}
|
||||
|
||||
if ( m_cb.getSelected( m_rowid ) && null == m_origDrawable ) {
|
||||
if ( m_cb.getSelected( m_rowid ) && null != m_origDrawable ) {
|
||||
toggleSelected();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue