We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97125bc commit 3be4b55Copy full SHA for 3be4b55
App/Functions/AutoBookmark/FontFilterForm.cs
@@ -98,8 +98,10 @@ void OnLoad() {
98
foreach (XmlElement item in _FontInfoBox.Roots) {
99
_FontInfoBox.Expand(item);
100
}
101
- _FontInfoBox.EnsureVisible(0);
102
- _FontInfoBox.Sort(_CountColumn, SortOrder.Descending);
+ if (_FontInfoBox.GetItemCount() > 0) {
+ _FontInfoBox.EnsureVisible(0);
103
+ _FontInfoBox.Sort(_CountColumn, SortOrder.Descending);
104
+ }
105
106
107
void _OkButton_Click(Object source, EventArgs args) {
0 commit comments