fix NPE on fresh install

This commit is contained in:
Eric House 2014-04-09 05:08:49 -07:00
parent eff00c1743
commit ccf84135a0

View file

@ -49,7 +49,7 @@ public class GamesListActivity extends ListActivity {
protected Dialog onCreateDialog( int id )
{
Dialog dialog = super.onCreateDialog( id );
if ( null == dialog ) {
if ( null == dialog && null != m_dlgt ) {
dialog = m_dlgt.createDialog( id );
}
return dialog;