mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
don't open group just because added game
A group that's closed stays closed even if a game's added to it. The change flushed out a bug where the groups cache wasn't being invalided on a game move, so fix that too.
This commit is contained in:
parent
9cab7d916c
commit
b8e8c176ed
2 changed files with 1 additions and 1 deletions
|
@ -1801,6 +1801,7 @@ public class DBUtils {
|
|||
ContentValues values = new ContentValues();
|
||||
values.put( DBHelper.GROUPID, groupID );
|
||||
updateRow( context, DBHelper.TABLE_NAME_SUM, gameid, values );
|
||||
invalGroupsCache();
|
||||
}
|
||||
|
||||
private static String getChatHistoryStr( Context context, long rowid )
|
||||
|
|
|
@ -792,7 +792,6 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
for ( long rowid : self.m_rowids ) {
|
||||
DBUtils.moveGame( self.m_activity, rowid, gid );
|
||||
}
|
||||
DBUtils.setGroupExpanded( self.m_activity, gid, true );
|
||||
self.mkListAdapter();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue