mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
fix NPE by inspection
fix crash reported by user. Looks like a race on the way out so check for null first.
This commit is contained in:
parent
807fe8633f
commit
a3ac3c4c8a
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class DictBrowseDelegate extends DelegateBase
|
|||
{
|
||||
TextView text = (TextView)view;
|
||||
// null text seems to have generated at least one google play report
|
||||
if ( null != text ) {
|
||||
if ( null != text && null != m_browseState ) {
|
||||
int newval = Integer.parseInt( text.getText().toString() );
|
||||
switch ( parent.getId() ) {
|
||||
case R.id.wordlen_min:
|
||||
|
|
Loading…
Add table
Reference in a new issue