summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options.cpp')
-rw-r--r--options.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.cpp b/options.cpp
index b361113..d0aadfc 100644
--- a/options.cpp
+++ b/options.cpp
@@ -1161,6 +1161,11 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP
}
break;
case IDC_IMPORT:
+ extern HANDLE new_key_hcnt;
+ extern HANDLE new_key_hcnt_mutex;
+ WaitForSingleObject(new_key_hcnt_mutex, INFINITE);
+ new_key_hcnt_mutex = CreateMutex(NULL, FALSE, NULL);
+ new_key_hcnt = hContact;
void ShowImportKeyDialog();
ShowImportKeyDialog();
break;