mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 03:07:56 +01:00
[Settings]Fix "Diagnostic Data Viewer" UI freeze (#35681)
fix UI freeze
This commit is contained in:
committed by
GitHub
parent
9e3a19804c
commit
7382f1836f
@@ -159,9 +159,9 @@ namespace Microsoft.PowerToys.Settings.UI.Views
|
|||||||
ViewModel.RefreshSettingsOnExternalChange();
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user