mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
save non-destructive changes on "Play game" button
In game config, when the play game button's hit and the changes pending don't "matter" (require reset), apply them. The motiviation is to allow setting the "disableds" and immediately launching a game via the button, but I think it's the right thing to do anyway. Needs testing.
This commit is contained in:
parent
7bae112077
commit
7f48267397
2 changed files with 2 additions and 2 deletions
|
@ -752,7 +752,7 @@ public class GameConfigDelegate extends DelegateBase
|
||||||
|| m_carOrig.changesMatter(m_car) ) {
|
|| m_carOrig.changesMatter(m_car) ) {
|
||||||
showDialogFragment( DlgID.CONFIRM_CHANGE_PLAY );
|
showDialogFragment( DlgID.CONFIRM_CHANGE_PLAY );
|
||||||
} else {
|
} else {
|
||||||
finishAndLaunch();
|
saveAndClose( false );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -436,7 +436,7 @@ public class GameUtils {
|
||||||
public static void resendAllIf( Context context, CommsConnType filter,
|
public static void resendAllIf( Context context, CommsConnType filter,
|
||||||
boolean force )
|
boolean force )
|
||||||
{
|
{
|
||||||
final boolean showUI = force;
|
boolean showUI = force;
|
||||||
long now = Utils.getCurSeconds();
|
long now = Utils.getCurSeconds();
|
||||||
|
|
||||||
if ( !force ) {
|
if ( !force ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue