mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
really only post messages sent toast when user chose the menuitem
This commit is contained in:
parent
0d04b176d2
commit
1703a15aca
1 changed files with 3 additions and 3 deletions
|
@ -523,11 +523,11 @@ public class JNIThread extends Thread {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CMD_RESEND:
|
case CMD_RESEND:
|
||||||
boolean force = ((Boolean)args[0]).booleanValue();
|
|
||||||
int nSent =
|
int nSent =
|
||||||
XwJNI.comms_resendAll( m_jniGamePtr, force,
|
XwJNI.comms_resendAll( m_jniGamePtr,
|
||||||
|
((Boolean)args[0]).booleanValue(),
|
||||||
((Boolean)args[1]).booleanValue() );
|
((Boolean)args[1]).booleanValue() );
|
||||||
if ( force ) {
|
if ( ((Boolean)args[2]).booleanValue() ) {
|
||||||
Message.obtain(m_handler, MSGS_SENT, nSent).sendToTarget();
|
Message.obtain(m_handler, MSGS_SENT, nSent).sendToTarget();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue