[GUI] Block UI when an export is underway

This commit is contained in:
Oleksii Holub 2019-04-12 15:23:07 +03:00
parent a7da90943f
commit 82b0b8cb0a
6 changed files with 41 additions and 11 deletions

View file

@ -6,7 +6,7 @@ namespace DiscordChatExporter.Gui.ViewModels.Framework
{
public T DialogResult { get; private set; }
public void Close(T dialogResult = default(T))
public void Close(T dialogResult = default)
{
// Set the result
DialogResult = dialogResult;