mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-23 19:49:17 +08:00
[Settings]Fix "Diagnostic Data Viewer" UI freeze (#35681)
fix UI freeze
This commit is contained in:
parent
9e3a19804c
commit
7382f1836f
@ -159,9 +159,9 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
||||
ViewModel.RefreshSettingsOnExternalChange();
|
||||
}
|
||||
|
||||
private void ViewDiagnosticData_Click(object sender, RoutedEventArgs e)
|
||||
private async void ViewDiagnosticData_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ViewModel.ViewDiagnosticData();
|
||||
await Task.Run(ViewModel.ViewDiagnosticData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user