Invoke SetButtonStates on UI thread
- Ensure RootedObjectEventHandler events are pushed to UI thread - Fixes #106067186
This commit is contained in:
parent
02a5d6993d
commit
81d0f9dda0
1 changed files with 1 additions and 1 deletions
|
|
@ -458,7 +458,7 @@ namespace MatterHackers.MatterControl.ActionBar
|
|||
|
||||
private void onStateChanged(object sender, EventArgs e)
|
||||
{
|
||||
SetButtonStates();
|
||||
UiThread.RunOnIdle(SetButtonStates);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue