diff --git a/src/PlanViewer.App/Controls/QuerySessionControl.axaml.cs b/src/PlanViewer.App/Controls/QuerySessionControl.axaml.cs index de27e6b..0c331f0 100644 --- a/src/PlanViewer.App/Controls/QuerySessionControl.axaml.cs +++ b/src/PlanViewer.App/Controls/QuerySessionControl.axaml.cs @@ -2056,7 +2056,7 @@ private async void Format_Click(object? sender, RoutedEventArgs e) } } }; - dialog.ShowDialog(GetParentWindow()); + await dialog.ShowDialog(GetParentWindow()); SetStatus($"Format failed: {errors.Count} error(s)"); return; }