don't start showing pages if quit was called in the show function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5096 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9b15ba192b
commit
04cb60bc69
1 changed files with 2 additions and 0 deletions
|
@ -604,6 +604,8 @@ nextPage:
|
||||||
SetWindowPos(m_curwnd,0,r.left,r.top,0,0,SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);
|
SetWindowPos(m_curwnd,0,r.left,r.top,0,0,SWP_NOACTIVATE|SWP_NOSIZE|SWP_NOZORDER);
|
||||||
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
#ifdef NSIS_SUPPORT_CODECALLBACKS
|
||||||
ExecuteCodeSegment(this_page->showfunc,NULL);
|
ExecuteCodeSegment(this_page->showfunc,NULL);
|
||||||
|
if (g_quit_flag)
|
||||||
|
return FALSE;
|
||||||
#endif //NSIS_SUPPORT_CODECALLBACKS
|
#endif //NSIS_SUPPORT_CODECALLBACKS
|
||||||
ShowWindow(m_curwnd,SW_SHOWNA);
|
ShowWindow(m_curwnd,SW_SHOWNA);
|
||||||
NotifyCurWnd(WM_NOTIFY_START);
|
NotifyCurWnd(WM_NOTIFY_START);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue