Fix MD5 dialog title not showing regression

One had to click on the Tools -> MD5 -> Generate from files... twice for showing up the dialog (only for the first time, next time it was ok).
Caused by the previous 'Add SHA-512 hash features' commit.

Close #13891
This commit is contained in:
xomx 2023-07-12 17:01:40 +02:00 committed by Don Ho
parent ebdc910dcd
commit 50f942c880

View File

@ -245,6 +245,13 @@ void HashFromFilesDlg::doDialog(bool isRTL)
switch (_ht)
{
case hash_md5:
{
title = TEXT("Generate MD5 digest from files");
buttonText = TEXT("Choose files to &generate MD5...");
}
break;
case hash_sha1:
{
title = TEXT("Generate SHA-1 digest from files");
@ -566,6 +573,12 @@ void HashFromTextDlg::doDialog(bool isRTL)
std::wstring title;
switch (_ht)
{
case hash_md5:
{
title = TEXT("Generate MD5 digest");
}
break;
case hash_sha1:
{
title = TEXT("Generate SHA-1 digest");