Skip to content

Commit ad39687

Browse files
committed
Fix: Shrinker.Avalonia - Allow loading of file names containing spaces.
1 parent 8a226a3 commit ad39687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ShaderShrinker/Shrinker.Avalonia/Commands/FileOpenCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ await TopLevel
5858
});
5959
var selectedFile = files.FirstOrDefault();
6060
if (selectedFile != null)
61-
FileSelected?.Invoke(this, new FileInfo(selectedFile.Path.AbsolutePath));
61+
FileSelected?.Invoke(this, new FileInfo(selectedFile.Path.LocalPath));
6262
}
6363
}

0 commit comments

Comments
 (0)