Skip to content

Commit

Permalink
Fix prefpane undoRedo
Browse files Browse the repository at this point in the history
  • Loading branch information
117649 committed Sep 30, 2021
1 parent 9896732 commit 8214e75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resource/modules/utils/preferencesUtils.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,8 @@ this.controllers = {
// I don't think this would trigger any change events when assigning the same value, but didn't feel like testing...
if(state[pref] != Prefs[pref]) {
Prefs[pref] = state[pref];
let node = $$(`[delayPreference=pref-${pref}]`)[0];
if(node) node._pref.setElementValue(node);
}
}

Expand Down

0 comments on commit 8214e75

Please sign in to comment.