mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +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 ) {
|
} else if ( view == m_studyButton ) {
|
||||||
String word = m_words[m_wordIndex];
|
String word = m_words[m_wordIndex];
|
||||||
DBUtils.addToStudyList( this, word, s_lang );
|
DBUtils.addToStudyList( this, word, s_lang );
|
||||||
m_studyButton.setEnabled( false );
|
|
||||||
|
|
||||||
String msg = getString( R.string.add_donef, word );
|
String msg = getString( R.string.add_donef, word );
|
||||||
Utils.showToast( this, msg );
|
Utils.showToast( this, msg );
|
||||||
|
@ -207,7 +206,6 @@ public class LookupActivity extends XWListActivity
|
||||||
m_words[m_wordIndex] );
|
m_words[m_wordIndex] );
|
||||||
if ( m_studyOn ) {
|
if ( m_studyOn ) {
|
||||||
m_studyButton.setVisibility( View.VISIBLE );
|
m_studyButton.setVisibility( View.VISIBLE );
|
||||||
m_studyButton.setEnabled( true );
|
|
||||||
m_studyButton.setText( txt );
|
m_studyButton.setText( txt );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue