diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 658bb507..b0bddb7e 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -530,7 +530,7 @@ nextPage: #ifdef NSIS_SUPPORT_CODECALLBACKS // lock display for custom pages to prevent flickering // the custom page must unlock the display - if (this_page->id<0) LockWindowUpdate(hwndDlg); + if (this_page->id<0 && uMsg != WM_INITDIALOG) LockWindowUpdate(hwndDlg); else LockWindowUpdate(0); #endif