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,9 +193,11 @@ public class DlgDelegate {
|
|||
|
||||
protected void showDialog( DlgID dlgID )
|
||||
{
|
||||
if ( !m_activity.isFinishing() ) {
|
||||
int id = dlgID.ordinal();
|
||||
m_activity.showDialog( id );
|
||||
}
|
||||
}
|
||||
|
||||
public Dialog createDialog( int id )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue