mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 14:54:39 +02:00
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:
parent
ebdc910dcd
commit
50f942c880
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user