Only map X button to Next if we're on the last page
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3162 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0d00e6b8a9
commit
ccfa1de62b
1 changed files with 1 additions and 1 deletions
|
@ -532,7 +532,7 @@ skipPage:
|
|||
m_curwnd = (HWND)wParam;
|
||||
goto skipPage;
|
||||
}
|
||||
if (uMsg == WM_CLOSE)
|
||||
if (uMsg == WM_CLOSE && m_page == g_blocks[NB_PAGES].num - 1)
|
||||
{
|
||||
if (!IsWindowEnabled(m_hwndCancel) && IsWindowEnabled(m_hwndOK))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue