Merge branch 'master' of github.com:piroor/treestyletab
This commit is contained in:
commit
76690e230f
@ -498,8 +498,6 @@ var TreeStyleTabBase = {
|
|||||||
let pref = restorePrefs[i];
|
let pref = restorePrefs[i];
|
||||||
let backup = prefs.getPref(pref+'.backup');
|
let backup = prefs.getPref(pref+'.backup');
|
||||||
if (backup === null) continue;
|
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.
|
// restore user preference.
|
||||||
prefs.setPref(pref, backup);
|
prefs.setPref(pref, backup);
|
||||||
// clear backup pref.
|
// clear backup pref.
|
||||||
|
Loading…
Reference in New Issue
Block a user