Browse Source

Merge pull request #10884 from CollinAlpert/nullability_fix

Fix nullability of List<FileDialogFilter>
pull/10893/head
Max Katz 3 years ago
committed by GitHub
parent
commit
e4ed304234
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Avalonia.Controls/SystemDialog.cs

2
src/Avalonia.Controls/SystemDialog.cs

@ -18,7 +18,7 @@ namespace Avalonia.Controls
/// Gets or sets a collection of filters which determine the types of files displayed in an
/// <see cref="OpenFileDialog"/> or an <see cref="SaveFileDialog"/>.
/// </summary>
public List<FileDialogFilter>? Filters { get; set; } = new List<FileDialogFilter>();
public List<FileDialogFilter> Filters { get; set; } = new List<FileDialogFilter>();
/// <summary>
/// Gets or sets initial file name that is displayed when the dialog is opened.

Loading…
Cancel
Save