mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix bug moving dicts: location wasn't getting updated when the move
was successful and so subsequent moves reported wrong location.
This commit is contained in:
parent
fc650ef317
commit
b20584b74e
1 changed files with 3 additions and 2 deletions
|
@ -214,16 +214,17 @@ public class DictsActivity extends ExpandableListActivity
|
|||
case MOVE_DICT:
|
||||
lstnr = new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dlg, int item ) {
|
||||
Utils.logf( "CALLING moveDict" );
|
||||
if ( GameUtils.moveDict( DictsActivity.this,
|
||||
m_moveName,
|
||||
m_moveFromLoc,
|
||||
m_moveToLoc ) ) {
|
||||
m_rowView.
|
||||
setComment( m_locNames[m_moveToLoc.ordinal()]);
|
||||
m_rowView.cache( m_moveToLoc );
|
||||
m_rowView.invalidate();
|
||||
} else {
|
||||
Utils.logf( "moveDict failed" );
|
||||
}
|
||||
Utils.logf( "moveDict RETURNED" );
|
||||
}
|
||||
};
|
||||
dialog = new AlertDialog.Builder( this )
|
||||
|
|
Loading…
Reference in a new issue