mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
save pendingMsgLevel flag as part of summary. This fixes reset games
being displayed with the sync icon if they had it before the reset. I'm not sure if not saving was an omission or if I've forgotten the reason. There *is* separate API for clearing the flags stored in that variable but it requires a second DB write.
This commit is contained in:
parent
7b985fcbae
commit
c12f64cc03
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ public class DBUtils {
|
||||||
values.put( DBHelper.DICTLANG, summary.dictLang );
|
values.put( DBHelper.DICTLANG, summary.dictLang );
|
||||||
values.put( DBHelper.GAME_OVER, summary.gameOver );
|
values.put( DBHelper.GAME_OVER, summary.gameOver );
|
||||||
values.put( DBHelper.DICTLIST, summary.dictNames(DICTS_SEP) );
|
values.put( DBHelper.DICTLIST, summary.dictNames(DICTS_SEP) );
|
||||||
|
values.put( DBHelper.HASMSGS, summary.pendingMsgLevel );
|
||||||
|
|
||||||
if ( null != summary.scores ) {
|
if ( null != summary.scores ) {
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
|
|
Loading…
Reference in a new issue