From 2f962528660dbd172a9674f71e3b05d46d8cbe66 Mon Sep 17 00:00:00 2001 From: farley128 Date: Wed, 24 Dec 2025 05:40:35 -0500 Subject: [PATCH] Fix DialogHost error --- DiscordChatExporter.Gui/Framework/DialogManager.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DiscordChatExporter.Gui/Framework/DialogManager.cs b/DiscordChatExporter.Gui/Framework/DialogManager.cs index 0f6a8f86..258ae872 100644 --- a/DiscordChatExporter.Gui/Framework/DialogManager.cs +++ b/DiscordChatExporter.Gui/Framework/DialogManager.cs @@ -38,6 +38,10 @@ public class DialogManager : IDisposable } ); + // Small delay to allow DialogHost to fully reset its state + // before another dialog can be shown + await Task.Delay(100); + return dialog.DialogResult; } }