mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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()
|
private void selectJustLaunched()
|
||||||
{
|
{
|
||||||
clearSelections();
|
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 )
|
public static void onGameDictDownload( Context context, Intent intent )
|
||||||
|
|
Loading…
Reference in a new issue