We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5770441 commit e717530Copy full SHA for e717530
src/settings-ui/Settings.UI/ViewModels/NewPlusViewModel.cs
@@ -250,12 +250,21 @@ public void RefreshEnabledState()
250
251
private void OpenNewTemplateFolder()
252
{
253
- var process = new ProcessStartInfo()
+ try
254
+ {
255
+ CopyTemplateExamples(_templateLocation);
256
+
257
+ var process = new ProcessStartInfo()
258
259
+ FileName = _templateLocation,
260
+ UseShellExecute = true,
261
+ };
262
+ Process.Start(process);
263
+ }
264
+ catch (Exception ex)
265
- FileName = _templateLocation,
- UseShellExecute = true,
- };
- Process.Start(process);
266
+ Logger.LogError("Failed to show NewPlus template folder.", ex);
267
268
}
269
270
private async void PickNewTemplateFolder()
0 commit comments