Skip to content

Commit 7bc06eb

Browse files
committed
UI: ruleset filter results -> always be visible
After a change in the ruleset list search/filter state, we need to jump to the first result or else there's no guarantee that it will be visible.
1 parent b9a583d commit 7bc06eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/chrome/content/preferences.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ function https_prefs_init(doc) {
105105
this.rules = new_rules;
106106
this.rowCount = new_rules.length;
107107
this.treebox.invalidate();
108+
this.treebox.scrollToRow(rulesets[0]);
108109
}
109110
};
110111

0 commit comments

Comments
 (0)