From 002978818cb593c8fcafc0c42f3a6eb86463fdb5 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 9 Aug 2003 15:21:52 +0000 Subject: [PATCH] Finish page - reshow controls for all cases, not just when the next button was clicked git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2796 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/System.nsh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index 55df5333..0ea0f527 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -1325,8 +1325,6 @@ Var MUI_TEMP2 !endif !insertmacro MUI_INSTALLOPTIONS_SHOW_RETURN - Pop $MUI_TEMP1 - StrCmp $MUI_TEMP1 "success" 0 mui.finish_done GetDlgItem $MUI_TEMP1 $HWNDPARENT 1028 ShowWindow $MUI_TEMP1 ${SW_NORMAL} @@ -1345,6 +1343,9 @@ Var MUI_TEMP2 GetDlgItem $MUI_TEMP1 $HWNDPARENT 1045 ShowWindow $MUI_TEMP1 ${SW_HIDE} + + Pop $MUI_TEMP1 + StrCmp $MUI_TEMP1 "success" 0 mui.finish_done !ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT