mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
Fix potential deadlock
This commit is contained in:
parent
accb11ff2d
commit
419149bc48
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user