Change KeyUp to KeyDown event so we don't get false positives. Refs #674

* If we pick up on keyup, it might be a keypress from somewhere else
  (like a dialog) that was released on our control. Instead we should
  look for keydown.
This commit is contained in:
baldurk
2017-06-23 21:44:21 +01:00
parent a34c7e0d89
commit aa34cf131b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -399,7 +399,7 @@
this.captures.View = System.Windows.Forms.View.Tile;
this.captures.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.captures_AfterLabelEdit);
this.captures.ItemSelectionChanged += new System.Windows.Forms.ListViewItemSelectionChangedEventHandler(this.captures_ItemSelectionChanged);
this.captures.KeyUp += new System.Windows.Forms.KeyEventHandler(this.captures_KeyUp);
this.captures.KeyDown += new System.Windows.Forms.KeyEventHandler(this.captures_KeyDown);
this.captures.MouseClick += new System.Windows.Forms.MouseEventHandler(this.captures_MouseClick);
this.captures.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.captures_MouseDoubleClick);
//