From 1c027794101025e04ae88daa5ba16e1d338ea42a Mon Sep 17 00:00:00 2001 From: larsbrubaker Date: Mon, 10 Feb 2014 17:09:20 -0800 Subject: [PATCH] Another function that needs to wait for the uithread to get called. --- PrintLevelWizard.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PrintLevelWizard.cs b/PrintLevelWizard.cs index 60bd882a9..ea16d2a88 100644 --- a/PrintLevelWizard.cs +++ b/PrintLevelWizard.cs @@ -373,6 +373,11 @@ namespace MatterHackers.MatterControl } void DoneButton_Click(object sender, MouseEventArgs mouseEvent) + { + UiThread.RunOnIdle(DoDoneButton_Click); + } + + void DoDoneButton_Click(object state) { Close(); }