mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
uncheck box as soon as download cancelled (and dismiss rather than
cancel the progress dialog so cancel listener doesn't get called on normal completion)
This commit is contained in:
parent
aa7c3a18e3
commit
177fbb0bad
2 changed files with 3 additions and 3 deletions
|
@ -1125,7 +1125,6 @@ public class DictsDelegate extends ListDelegateBase
|
|||
@Override
|
||||
protected void onCancelled()
|
||||
{
|
||||
m_checkbox.setChecked( false );
|
||||
m_remoteInfo = null;
|
||||
m_showRemote = false;
|
||||
}
|
||||
|
@ -1262,8 +1261,9 @@ public class DictsDelegate extends ListDelegateBase
|
|||
/////////////////////////////////////////////////////////////////
|
||||
// DialogInterface.OnCancelListener interface
|
||||
/////////////////////////////////////////////////////////////////
|
||||
public void onCancel( DialogInterface dialog )
|
||||
public void onCancel( DialogInterface dialog )
|
||||
{
|
||||
m_checkbox.setChecked( false );
|
||||
cancel( true );
|
||||
}
|
||||
} // class FetchListTask
|
||||
|
|
|
@ -370,7 +370,7 @@ public class DlgDelegate {
|
|||
public void stopProgress()
|
||||
{
|
||||
if ( null != m_progress ) {
|
||||
m_progress.cancel();
|
||||
m_progress.dismiss();
|
||||
m_progress = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue