When using the feature to hide devices from the switch list on starting the app next time it throws an error:
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'.
Parameter name: index
at System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index)
at AudioSwitch.Forms.FormSwitcher.b__29_0(CDevice x)
at System.Collections.Generic.List1.Find(Predicate1 match)
at AudioSwitch.Forms.FormSwitcher.SetTrayIcons()
at AudioSwitch.Forms.FormSwitcher..ctor()
at AudioSwitch.Classes.Program.Main(String[] args)
When using the feature to hide devices from the switch list on starting the app next time it throws an error:
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'index'. Parameter name: index at System.Windows.Forms.ListView.SelectedListViewItemCollection.get_Item(Int32 index) at AudioSwitch.Forms.FormSwitcher.b__29_0(CDevice x)
at System.Collections.Generic.List
1.Find(Predicate
1 match) at AudioSwitch.Forms.FormSwitcher.SetTrayIcons() at AudioSwitch.Forms.FormSwitcher..ctor() at AudioSwitch.Classes.Program.Main(String[] args)This is the case in both 2.1.3 and 2.1.5.