Skip to content

Commit

Permalink
Merge branch 'main' into bsonnino/fix-generated-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
nmetulev authored Dec 13, 2024
2 parents 3239337 + 3d80e46 commit bf1b176
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AIDevGallery/Pages/ScenarioPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ private async void ExportSampleToggle_Click(object sender, RoutedEventArgs e)
{
var hwnd = WinRT.Interop.WindowNative.GetWindowHandle(App.MainWindow);
var picker = new FolderPicker();
picker.FileTypeFilter.Add("*");
WinRT.Interop.InitializeWithWindow.Initialize(picker, hwnd);
var folder = await picker.PickSingleFolderAsync();
if (folder != null)
Expand Down

0 comments on commit bf1b176

Please sign in to comment.