2 cases:
1.
filter by tuning
sort by artist
go to last entry
using keyboard use up arrow
sorting changes
it should not change, just move to the previous song.
(just got an "Unhandled exception error" while trying this.) Exception Text is at bottom.
2.
sort by any column
go to last entry
using keyboard use up arrow
triggers 2 events:
[2017/11/16 12:11:49]: Saved File: appSettings.xml
[2017/11/16 12:11:49]: Saved File: dgvSongsMaster.xml
why?
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CustomsForgeSongManager.UControls.SongManager.dgvSongsMaster_Sorted(Object sender, EventArgs e)
at System.Windows.Forms.DataGridView.OnSorted(EventArgs e)
at System.Windows.Forms.DataGridView.SortInternal(IComparer comparer, DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
at System.Windows.Forms.DataGridView.Sort(DataGridViewColumn dataGridViewColumn, ListSortDirection direction)
at DataGridViewTools.DataGridViewAutoFilterColumnHeaderCell.SortByColumn()
at DataGridViewTools.DataGridViewAutoFilterColumnHeaderCell.OnMouseDown(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridViewCell.OnMouseDownInternal(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
)