Await async tasks
This commit is contained in:
parent
c760429bbe
commit
9da48f69ed
2 changed files with 4 additions and 4 deletions
|
|
@ -585,9 +585,9 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
{
|
||||
ID = "ArrangeAll",
|
||||
Title = "Arrange All Parts".Localize(),
|
||||
Action = () =>
|
||||
Action = async () =>
|
||||
{
|
||||
sceneContext.Scene.AutoArrangeChildren(this.BedCenter);
|
||||
await sceneContext.Scene.AutoArrangeChildren(this.BedCenter).ConfigureAwait(false);
|
||||
},
|
||||
IsEnabled = () => sceneContext.EditableScene
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue