andulv/RSTabExplorer

Random crashes in TrackListing GridView

Vycka opened this issue · 0 comments

Software crashes sometimes, because of unsafe cast there:
TrackListing.xaml.cs Line 33:

GridViewColumnHeader headerClicked = (GridViewColumnHeader)e.OriginalSource;

Fix:

GridViewColumnHeader headerClicked = e.OriginalSource as GridViewColumnHeader;