浏览代码

Cleanup CheckPassword like was done for HandleInitPassword already in 28f3e880.

Martijn Laan 1 月之前
父节点
当前提交
25bc7d943c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Projects/Src/Setup.WizardForm.pas

+ 1 - 1
Projects/Src/Setup.WizardForm.pas

@@ -2444,7 +2444,7 @@ procedure TWizardForm.NextButtonClick(Sender: TObject);
 
     if Result then begin
       NeedPassword := False;
-      if SetupEncryptionHeader.EncryptionUse <> euNone then
+      if SetupEncryptionHeader.EncryptionUse = euFiles then
         FileExtractor.CryptKey := CryptKey;
       PasswordEdit.Text := '';
     end else begin