summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/utilities.cpp')
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 3ba1b02578..d72e49b27c 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -18,8 +18,6 @@
#include "utf8.h"
-void ShowLoadPublicKeyDialog(bool = false);
-
void GetFilePath(wchar_t *WindowTittle, char *szSetting, wchar_t *szExt, wchar_t *szExtDesc)
{
wchar_t str[MAX_PATH + 2] = {};
@@ -96,8 +94,7 @@ void GetFolderPath(wchar_t *WindowTittle)
INT_PTR LoadKey(WPARAM w, LPARAM)
{
- globals.user_data[(int)1] = (MCONTACT)w;
- ShowLoadPublicKeyDialog();
+ ShowLoadPublicKeyDialog((MCONTACT)w, false);
return 0;
}