aboutsummaryrefslogtreecommitdiff
path: root/src/windows/identity/ui/mainwnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/identity/ui/mainwnd.c')
-rw-r--r--src/windows/identity/ui/mainwnd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/windows/identity/ui/mainwnd.c b/src/windows/identity/ui/mainwnd.c
index 76a3fde..38402a2 100644
--- a/src/windows/identity/ui/mainwnd.c
+++ b/src/windows/identity/ui/mainwnd.c
@@ -221,6 +221,10 @@ khm_main_wnd_proc(HWND hwnd,
kmq_subscribe_hwnd(KMSG_KMM, hwnd);
mw_restart_refresh_timer(hwnd);
+ /* if the plug-ins finished loading before the window was
+ created, we would have missed the KMSG_KMM_I_DONE message.
+ So we check if the module load is complete and if so, fire
+ off KMSG_ACT_BEGIN_CMDLINE. */
if (!kmm_load_pending())
kmq_post_message(KMSG_ACT, KMSG_ACT_BEGIN_CMDLINE, 0, 0);
break;