mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
save when exiting to prevent data loss opening chat window.
This commit is contained in:
parent
a55e17cd41
commit
049c25f16d
1 changed files with 2 additions and 1 deletions
|
@ -2383,7 +2383,7 @@ public class BoardDelegate extends DelegateBase
|
||||||
}
|
}
|
||||||
|
|
||||||
m_dlgBytes = txt;
|
m_dlgBytes = txt;
|
||||||
post( new Runnable() {
|
runOnUiThread( new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
showDialog( dlgID );
|
showDialog( dlgID );
|
||||||
}
|
}
|
||||||
|
@ -2420,6 +2420,7 @@ public class BoardDelegate extends DelegateBase
|
||||||
ConnStatusHandler.setHandler( null );
|
ConnStatusHandler.setHandler( null );
|
||||||
waitCloseGame( true );
|
waitCloseGame( true );
|
||||||
} else {
|
} else {
|
||||||
|
handleViaThread( JNICmd.CMD_SAVE );
|
||||||
// DbgUtils.logf( "closeIfFinishing(): not finishing (yet)" );
|
// DbgUtils.logf( "closeIfFinishing(): not finishing (yet)" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue