mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-29 05:55:21 -04:00
Try to fix nullability warning
This commit is contained in:
parent
e237e00600
commit
7b140fd450
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ namespace DiscordChatExporter.Gui.ViewModels.Framework
|
||||||
|
|
||||||
public event EventHandler? Closed;
|
public event EventHandler? Closed;
|
||||||
|
|
||||||
public void Close(T dialogResult = default)
|
public void Close(T dialogResult = default!)
|
||||||
{
|
{
|
||||||
DialogResult = dialogResult!;
|
DialogResult = dialogResult!;
|
||||||
Closed?.Invoke(this, EventArgs.Empty);
|
Closed?.Invoke(this, EventArgs.Empty);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue