Update mRemoteNG/UI/Window/OptionsWindow.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Dimitrij
2025-11-06 12:06:10 +00:00
committed by GitHub
parent 100c2e3078
commit 30eafa3efa

View File

@@ -63,8 +63,7 @@ namespace mRemoteNG.UI.Window
if (_optionsForm != null && !_optionsForm.IsDisposed)
{
Logger.Instance.Log?.Debug($"[OptionsWindow.EnsureOptionsFormReady] Processing Application.DoEvents");
// Process any pending Application.Idle events to ensure all pages are loaded
// This prevents race conditions with async page loading
// Process any pending UI events to ensure the form is fully rendered
Application.DoEvents();
}