InvalidOperation fix

Oct 16, 2009 at 7:59 PM
Index: HighSign/HighSign/UI/Forms/ActionConfiguration.cs
===================================================================
--- HighSign/HighSign/UI/Forms/ActionConfiguration.cs	(revision 30002)
+++ HighSign/HighSign/UI/Forms/ActionConfiguration.cs	(working copy)
@@ -27,7 +27,7 @@
 
 		protected void ActionConfiguration_Load(object sender, EventArgs e)
 		{
-			gpbGesture.Gesture = Gestures.GestureManager.Instance.Gestures.First();
+			gpbGesture.Gesture = Gestures.GestureManager.Instance.Gestures.FirstOrDefault();
 		}
 
 		protected void cmdChangeApplication_Click(object sender, EventArgs e)

This solves InvalidOperation exception when running HighSign.exe

Coordinator
Oct 17, 2009 at 1:31 AM

Care to join the project and commit your change directly? If not, I can take care of it.

Winter months are here and I'm looking forward to getting back in the project.

Dylan

Oct 17, 2009 at 12:10 PM

I'd like more to post my (little) fixes here, so you and others can check and discuss it. Thanks anyway for your offert.