mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Update mRemoteNG/UI/Window/OptionsWindow.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user