Make file dialog API usages read-only (#37779)
Requires 4e7de2f272
Fixes #37762
This commit is contained in:
committed by
GitHub
parent
21a29212ab
commit
52430df55f
@@ -1531,7 +1531,7 @@ namespace Content.Client.Lobby.UI
|
||||
return;
|
||||
|
||||
StartExport();
|
||||
await using var file = await _dialogManager.OpenFile(new FileDialogFilters(new FileDialogFilters.Group("yml")));
|
||||
await using var file = await _dialogManager.OpenFile(new FileDialogFilters(new FileDialogFilters.Group("yml")), FileAccess.Read);
|
||||
|
||||
if (file == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user