update the inner page if the leave function aborted, something might have changed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3861 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
13730a5753
commit
b4e31e321e
1 changed files with 4 additions and 1 deletions
|
@ -431,7 +431,10 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||
// Call leave function. If Abort used don't move to the next page.
|
||||
// But if quit called we must exit now
|
||||
if (m_delta==1) if (ExecuteCodeSegment(this_page->leavefunc,NULL)) return !g_quit_flag;
|
||||
if (m_delta==1) if (ExecuteCodeSegment(this_page->leavefunc,NULL)) {
|
||||
SendMessage(m_curwnd, WM_IN_UPDATEMSG, 0, 1);
|
||||
return !g_quit_flag;
|
||||
}
|
||||
#endif
|
||||
|
||||
// if the last page was a custom page, wait for it to finish by itself.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue