mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-02 06:20:14 +01:00
fix NPE by checking
This commit is contained in:
parent
9820f6bf6b
commit
f2ff596ff3
1 changed files with 6 additions and 1 deletions
|
@ -1338,7 +1338,12 @@ public class GamesList extends XWExpandableListActivity
|
|||
private void selectJustLaunched()
|
||||
{
|
||||
clearSelections();
|
||||
m_adapter.getGameItemFor( m_launchedGame ).setSelected( true );
|
||||
if ( null != m_adapter ) {
|
||||
GameListItem item = m_adapter.getGameItemFor( m_launchedGame );
|
||||
if ( null != item ) {
|
||||
item.setSelected( true );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void onGameDictDownload( Context context, Intent intent )
|
||||
|
|
Loading…
Reference in a new issue