EpexGUI icon indicating copy to clipboard operation
EpexGUI copied to clipboard

Unhandled exception when editing configuration

Open Seamob opened this issue 2 years ago • 0 comments

When editing a configuration and pressing "Save", even without changing anything i get an unhandled exception error:

************** Exception Text ************** System.ArgumentOutOfRangeException: Index and count must refer to a location within the string. Parameter name: count at System.String.Remove(Int32 startIndex, Int32 count) at epexgui.EditForm.ConfigPathToName(String path) in C:\Users\owner\source\repos\epexgui\epexgui\Forms\EditForm.cs:line 65 at epexgui.EditForm.SaveButton_Click(Object sender, EventArgs e) in C:\Users\owner\source\repos\epexgui\epexgui\Forms\EditForm.cs:line 68 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

image

I really like this project and hope it's being developed further in the future :)

Seamob avatar Apr 03 '23 23:04 Seamob