アドオンの有効無効切り替え時に、内部で変更した隠し設定の値を元に戻す処理が期待通りに働いていなかった
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6460 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
f8d2ac92fc
commit
9622062a7d
@ -321,7 +321,7 @@ var TreeStyleTabService = {
|
||||
].forEach(function(aPref) {
|
||||
var backup = prefs.getPref(aPref+'.backup');
|
||||
if (backup === null) return;
|
||||
prefs.setPref(aPref, backup);
|
||||
prefs.setPref(aPref+'.override', backup); // we have to set to ".override" pref, to avoid unexpectedly reset by the preference listener.
|
||||
prefs.clearPref(aPref+'.backup');
|
||||
});
|
||||
prefs = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user