Test button is now only enabled if there were no errors during compilation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@957 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
684029a008
commit
6746a0e7f4
2 changed files with 7 additions and 6 deletions
|
@ -128,7 +128,7 @@ void EnableItems(HWND hwnd) {
|
|||
if (MSG2(EM_FINDTEXT, 0, (LPARAM)&ft) != -1) g_warnings++;
|
||||
|
||||
HMENU m = GetMenu(hwnd);
|
||||
if (g_output_exe) {
|
||||
if (g_output_exe && !g_retcode) {
|
||||
EnableWindow(GetDlgItem(hwnd,IDC_TEST),1);
|
||||
EnableMenuItem(m,IDM_TEST,MF_ENABLED);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue