mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
don't disable button after it's used: feels as if the device is hanging
This commit is contained in:
parent
b29dcb1d2c
commit
f65b5fda71
1 changed files with 0 additions and 2 deletions
|
@ -139,7 +139,6 @@ public class LookupActivity extends XWListActivity
|
|||
} else if ( view == m_studyButton ) {
|
||||
String word = m_words[m_wordIndex];
|
||||
DBUtils.addToStudyList( this, word, s_lang );
|
||||
m_studyButton.setEnabled( false );
|
||||
|
||||
String msg = getString( R.string.add_donef, word );
|
||||
Utils.showToast( this, msg );
|
||||
|
@ -207,7 +206,6 @@ public class LookupActivity extends XWListActivity
|
|||
m_words[m_wordIndex] );
|
||||
if ( m_studyOn ) {
|
||||
m_studyButton.setVisibility( View.VISIBLE );
|
||||
m_studyButton.setEnabled( true );
|
||||
m_studyButton.setText( txt );
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue