Merge pull request #437 from saneyuki/pref
Not setting '.override' pref when uninstall/diasble this addon
This commit is contained in:
commit
05dd8078b3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user