From 069250918284b12d42e4e2f4102dd2dbfba18e15 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 15 Aug 2010 13:30:10 +0300 Subject: modified: commonheaders.h modified: init.cpp modified: main.cpp modified: messages.cpp modified: options.cpp --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 09fc90f..6a58405 100644 --- a/main.cpp +++ b/main.cpp @@ -410,7 +410,9 @@ void ImportKey() if(pxExecute(&cmd, "", &output, &exitcode) == pxNotFound) { MessageBox(0, _T("Set path to gpg.exe first!"), _T("Warning"), MB_OK); + return; } + DBDeleteContactSetting(new_key_hcnt, szModuleName, "bAlwatsTrust"); cp866_to_cp1251(&output); { string::size_type s = output.find("gpg: key ") + strlen("gpg: key "); -- cgit v1.2.3