mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
don't open game just because it was created
Posting a notification is enough. And existing code already handles the missing dict case, so GamesListDelegate doesn't even need to know.
This commit is contained in:
parent
54fb43ec62
commit
997aad84ff
1 changed files with 0 additions and 21 deletions
|
@ -1241,27 +1241,6 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
return selected;
|
return selected;
|
||||||
}
|
}
|
||||||
|
|
||||||
// BTService.MultiEventListener interface
|
|
||||||
public void eventOccurred( MultiService.MultiEvent event,
|
|
||||||
final Object ... args )
|
|
||||||
{
|
|
||||||
switch( event ) {
|
|
||||||
case BT_GAME_CREATED:
|
|
||||||
post( new Runnable() {
|
|
||||||
public void run() {
|
|
||||||
long rowid = (Long)args[0];
|
|
||||||
if ( checkWarnNoDict( rowid ) ) {
|
|
||||||
launchGame( rowid, true );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
super.eventOccurred( event, args );
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// DlgDelegate.DlgClickNotify interface
|
// DlgDelegate.DlgClickNotify interface
|
||||||
@Override
|
@Override
|
||||||
public boolean onPosButton( Action action, Object[] params )
|
public boolean onPosButton( Action action, Object[] params )
|
||||||
|
|
Loading…
Reference in a new issue