mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
Bug: don't refuse to update preference summary just because it's empty.
This commit is contained in:
parent
82552e681a
commit
3fdf15955e
1 changed files with 5 additions and 7 deletions
|
@ -196,14 +196,12 @@ public class PrefsActivity extends PreferenceActivity
|
|||
{
|
||||
Preference pref = getPreferenceScreen().findPreference( key );
|
||||
String value = sp.getString( key, "" );
|
||||
if ( ! value.equals("") ) {
|
||||
if ( pref instanceof android.preference.ListPreference ) {
|
||||
// if ( pref instanceof android.preference.ListPreference ) {
|
||||
// Utils.logf( "%s: want to do lookup of user string here",
|
||||
// key );
|
||||
}
|
||||
// }
|
||||
pref.setSummary( value );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void relaunch()
|
||||
|
|
Loading…
Add table
Reference in a new issue