summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rwxr-xr-xmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 36a037f..9444dd6 100755
--- a/main.cpp
+++ b/main.cpp
@@ -1823,7 +1823,7 @@ void InitCheck()
char *keyid = UniGetContactSettingUtf(NULL, szGPGModuleName, "KeyID", "");
char *key = UniGetContactSettingUtf(NULL, szGPGModuleName, "GPGPubKey", "");
void ShowFirstRunDialog();
- if(!keyid[0] || !key[0])
+ if(!DBGetContactSettingByte(NULL, szGPGModuleName, "FirstRun", 1) && (!keyid[0] || !key[0]))
{
question = Translate("You have not set public key for gpg, it's recommended to do it.\nDo you want to do it now ?");
if(MessageBoxA(0, question.c_str(), Translate("Own public key warning"), MB_YESNO) == IDYES)