From 998f3357a77661cdd85aa1f419bed5054aa21ede Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 28 Feb 2017 15:18:11 -0500 Subject: fix Snakey NRE --- ShiftOS.WinForms/Applications/Snakey.Designer.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'ShiftOS.WinForms/Applications/Snakey.Designer.cs') diff --git a/ShiftOS.WinForms/Applications/Snakey.Designer.cs b/ShiftOS.WinForms/Applications/Snakey.Designer.cs index b44ea8c..1b21792 100644 --- a/ShiftOS.WinForms/Applications/Snakey.Designer.cs +++ b/ShiftOS.WinForms/Applications/Snakey.Designer.cs @@ -90,6 +90,7 @@ this.Controls.Add(this.tableLayoutPanel1); this.Name = "Snakey"; this.Size = new System.Drawing.Size(317, 329); + this.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.OnKeyPress); this.ResumeLayout(false); this.PerformLayout(); -- cgit v1.2.3