From f65b5fda7174dd183d61232b4ab55fdd50bb78b5 Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 31 Jan 2014 18:22:21 -0800 Subject: [PATCH] don't disable button after it's used: feels as if the device is hanging --- .../XWords4/src/org/eehouse/android/xw4/LookupActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java index a84c65af1..45182f68e 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java @@ -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;