reset $INSTDIR if user clicked cancel in the browse dialog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4029 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
01cddf169b
commit
d1c225ba8f
1 changed files with 4 additions and 0 deletions
|
@ -889,6 +889,10 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
|
||||||
dontsetdefstyle++;
|
dontsetdefstyle++;
|
||||||
SetUITextNT(IDC_DIR,dir);
|
SetUITextNT(IDC_DIR,dir);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
uMsg = WM_IN_UPDATEMSG;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (uMsg == WM_IN_UPDATEMSG || uMsg == WM_NOTIFY_START)
|
if (uMsg == WM_IN_UPDATEMSG || uMsg == WM_NOTIFY_START)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue