mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-07 20:46:17 +01:00
fix crash trying to create new game immediately after allowing board
to delete one.
This commit is contained in:
parent
b333e3959f
commit
3b2a537e93
1 changed files with 8 additions and 2 deletions
|
@ -1421,8 +1421,14 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
{
|
||||
String[][] missingNames = new String[1][];
|
||||
int[] missingLang = new int[1];
|
||||
boolean hasDicts =
|
||||
GameUtils.gameDictsHere( m_activity, rowid, missingNames, missingLang );
|
||||
boolean hasDicts;
|
||||
try {
|
||||
hasDicts = GameUtils.gameDictsHere( m_activity, rowid, missingNames,
|
||||
missingLang );
|
||||
} catch ( GameUtils.NoSuchGameException nsge ) {
|
||||
hasDicts = true; // irrelevant question
|
||||
}
|
||||
|
||||
if ( !hasDicts ) {
|
||||
m_missingDictLang = missingLang[0];
|
||||
if ( 0 < missingNames[0].length ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue