Merge branch 'master' of github.com:piroor/treestyletab

This commit is contained in:
Piro / YUKI Hiroshi 2013-01-04 13:44:55 +09:00
commit 76690e230f

View File

@ -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.