X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2FPreferenceActivity.java;h=1e7ba15c54cf3fee16df1b32d8fc8c908f656e3a;hp=bcca16a6ceabc8d83a6892b25098dfce07a51948;hb=50e3589564c609cd41c430aa10b45dc9db06623b;hpb=48c05d13996c839a6fa66039bc1c77e1020f09dc diff --git a/src/com/hughes/android/dictionary/PreferenceActivity.java b/src/com/hughes/android/dictionary/PreferenceActivity.java index bcca16a..1e7ba15 100644 --- a/src/com/hughes/android/dictionary/PreferenceActivity.java +++ b/src/com/hughes/android/dictionary/PreferenceActivity.java @@ -35,7 +35,7 @@ public class PreferenceActivity extends android.preference.PreferenceActivity public void onCreate(Bundle savedInstanceState) { final DictionaryApplication application = (DictionaryApplication) getApplication(); setTheme(application.getSelectedTheme().themeId); - + final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); if (prefs.getString(getString(R.string.quickdicDirectoryKey), "").equals("")) { prefs.edit().putString(getString(R.string.quickdicDirectoryKey), application.getDictDir().getAbsolutePath()).commit();