mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
fix (I hope) crash: don't show alert on activity that's finishing
This commit is contained in:
parent
8e21c69a55
commit
74c13fa2cf
1 changed files with 4 additions and 2 deletions
|
@ -193,8 +193,10 @@ public class DlgDelegate {
|
||||||
|
|
||||||
protected void showDialog( DlgID dlgID )
|
protected void showDialog( DlgID dlgID )
|
||||||
{
|
{
|
||||||
int id = dlgID.ordinal();
|
if ( !m_activity.isFinishing() ) {
|
||||||
m_activity.showDialog( id );
|
int id = dlgID.ordinal();
|
||||||
|
m_activity.showDialog( id );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Dialog createDialog( int id )
|
public Dialog createDialog( int id )
|
||||||
|
|
Loading…
Reference in a new issue