mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
fix NPE on fresh install
This commit is contained in:
parent
eff00c1743
commit
ccf84135a0
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class GamesListActivity extends ListActivity {
|
||||||
protected Dialog onCreateDialog( int id )
|
protected Dialog onCreateDialog( int id )
|
||||||
{
|
{
|
||||||
Dialog dialog = super.onCreateDialog( id );
|
Dialog dialog = super.onCreateDialog( id );
|
||||||
if ( null == dialog ) {
|
if ( null == dialog && null != m_dlgt ) {
|
||||||
dialog = m_dlgt.createDialog( id );
|
dialog = m_dlgt.createDialog( id );
|
||||||
}
|
}
|
||||||
return dialog;
|
return dialog;
|
||||||
|
|
Loading…
Add table
Reference in a new issue