Browse Source
Merge pull request #5542 from jeffreye/patch-1
Avoid crashing at "open file" dialog (Fix #5541)
pull/5546/head
Jumar Macato
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Avalonia.Dialogs/ManagedFileChooserSources.cs
|
|
|
@ -67,7 +67,7 @@ namespace Avalonia.Dialogs |
|
|
|
{ |
|
|
|
Directory.GetFiles(x.VolumePath); |
|
|
|
} |
|
|
|
catch (UnauthorizedAccessException _) |
|
|
|
catch (Exception _) |
|
|
|
{ |
|
|
|
return null; |
|
|
|
} |
|
|
|
|