mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 695458 - Update Preferences (crash fix followup) [r=mfinkle]
This commit is contained in:
parent
073b9b08fb
commit
9f62d867e3
@ -91,7 +91,8 @@ public class GeckoPreferences
|
||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||
String prefName = preference.getKey();
|
||||
setPreference(prefName, newValue);
|
||||
((ListPreference)preference).setSummary((String)newValue);
|
||||
if (preference instanceof ListPreference)
|
||||
((ListPreference)preference).setSummary((String)newValue);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user