Skip to content

Commit

Permalink
OpenLoadPicker would use TestEditor.App's handle
Browse files Browse the repository at this point in the history
  • Loading branch information
iconstudio committed Oct 6, 2023
1 parent ae3ba6b commit 4ca2c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor/TestEditor/Infrastructures/ProjectOpenPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private async void OpenButton_Click(object sender, RoutedEventArgs e)
{
isPickerOpened = true;

if (await FilePickHelper.OpenLoadPicker(App.GetInstance().myProject, EditorFileHelper.MapExtension) is StorageFile mapfile)
if (await FilePickHelper.OpenLoadPicker(App.GetInstance().myProject.NativeHandle, EditorFileHelper.MapExtension) is StorageFile mapfile)
{
EditorFileHelper.MemoLastFile(mapfile);

Expand Down

0 comments on commit 4ca2c87

Please sign in to comment.