Another function that needs to wait for the uithread to get called.
This commit is contained in:
parent
e6e16c3612
commit
1c02779410
1 changed files with 5 additions and 0 deletions
|
|
@ -373,6 +373,11 @@ namespace MatterHackers.MatterControl
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoneButton_Click(object sender, MouseEventArgs mouseEvent)
|
void DoneButton_Click(object sender, MouseEventArgs mouseEvent)
|
||||||
|
{
|
||||||
|
UiThread.RunOnIdle(DoDoneButton_Click);
|
||||||
|
}
|
||||||
|
|
||||||
|
void DoDoneButton_Click(object state)
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue