Not setting '.override' pref when uninstall/diasble this addon.

This commit is contained in:
saneyuki_s 2013-01-04 02:57:38 +09:00
parent 318ad0ee52
commit c732e5e280

View File

@ -498,8 +498,6 @@ var TreeStyleTabBase = {
let pref = restorePrefs[i];
let backup = prefs.getPref(pref+'.backup');
if (backup === null) continue;
// we have to set to ".override" pref, to avoid unexpectedly reset by the preference listener.
prefs.setPref(pref+'.override', backup);
// restore user preference.
prefs.setPref(pref, backup);
// clear backup pref.