mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
cryptui: Skip password page when moving backward through the export wizard if it wasn't shown in the first place.
This commit is contained in:
parent
0eefd4fb3b
commit
8cb9702265
1 changed files with 9 additions and 0 deletions
|
@ -6114,6 +6114,15 @@ static LRESULT CALLBACK export_file_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
|
|||
|
||||
switch (hdr->code)
|
||||
{
|
||||
case PSN_WIZBACK:
|
||||
data = (struct ExportWizData *)GetWindowLongPtrW(hwnd, DWLP_USER);
|
||||
if (data->contextInfo.dwExportFormat !=
|
||||
CRYPTUI_WIZ_EXPORT_FORMAT_PFX)
|
||||
{
|
||||
SetWindowLongPtrW(hwnd, DWLP_MSGRESULT, IDD_EXPORT_FORMAT);
|
||||
ret = 1;
|
||||
}
|
||||
break;
|
||||
case PSN_WIZNEXT:
|
||||
{
|
||||
HWND fileNameEdit = GetDlgItem(hwnd, IDC_EXPORT_FILENAME);
|
||||
|
|
Loading…
Reference in a new issue