mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
fix update when text cleared: passing null to setText() is ok
This commit is contained in:
parent
91d7213be6
commit
4b26e04691
1 changed files with 5 additions and 6 deletions
|
@ -81,12 +81,11 @@ public class LocListItem extends LinearLayout {
|
|||
} else {
|
||||
xlation = LocUtils.getBlessedXlation( getContext(), key, true );
|
||||
}
|
||||
if ( null != xlation ) {
|
||||
m_pair.setXlation( xlation );
|
||||
m_xlated.setText( xlation );
|
||||
if ( local ) {
|
||||
m_xlated.setTextColor( LOCAL_COLOR );
|
||||
}
|
||||
|
||||
m_pair.setXlation( xlation );
|
||||
m_xlated.setText( xlation );
|
||||
if ( local ) {
|
||||
m_xlated.setTextColor( LOCAL_COLOR );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue