Fix potential deadlock

This commit is contained in:
Ben Olden-Cooligan 2024-03-09 14:14:52 -08:00
parent accb11ff2d
commit 419149bc48

View File

@ -179,10 +179,10 @@ public abstract class DesktopForm : EtoFormBase
private void ImageList_SelectionChanged(object? sender, EventArgs e)
{
Invoker.Current.Invoke(() =>
Invoker.Current.InvokeDispatch(() =>
{
UpdateToolbar();
_listView!.Selection = ImageList.Selection;
_listView.Selection = ImageList.Selection;
});
}