Skip to content

Commit 5b62b92

Browse files
committed
Update shortcut list on filter clear correctly...
1 parent 293d51c commit 5b62b92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FlashDevelop/Dialogs/ShortcutDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private void InitializeComponent()
156156
this.viewCustom.CheckAlign = ContentAlignment.MiddleRight;
157157
this.viewCustom.Anchor = ((System.Windows.Forms.AnchorStyles)(System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right));
158158
this.viewCustom.Location = new System.Drawing.Point(471, 9);
159-
this.viewCustom.Click += new System.EventHandler(this.ViewCustomClick);
159+
this.viewCustom.CheckedChanged += new System.EventHandler(this.ViewCustomCheckedChanged);
160160
//
161161
// ShortcutDialog
162162
//
@@ -369,7 +369,7 @@ private void ListViewKeyDown(Object sender, KeyEventArgs e)
369369
/// <summary>
370370
/// Filter the list view for custom items
371371
/// </summary>
372-
private void ViewCustomClick(Object sender, EventArgs e)
372+
private void ViewCustomCheckedChanged(Object sender, EventArgs e)
373373
{
374374
this.FilterTextChanged(null, null);
375375
}

0 commit comments

Comments
 (0)