From 30eafa3efa486ffd8feabbdc54a8900c3d47ce7f Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Thu, 6 Nov 2025 12:06:10 +0000 Subject: [PATCH] Update mRemoteNG/UI/Window/OptionsWindow.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- mRemoteNG/UI/Window/OptionsWindow.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mRemoteNG/UI/Window/OptionsWindow.cs b/mRemoteNG/UI/Window/OptionsWindow.cs index 0b9714c5..2195a4d5 100644 --- a/mRemoteNG/UI/Window/OptionsWindow.cs +++ b/mRemoteNG/UI/Window/OptionsWindow.cs @@ -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(); }