parent
c8e51af305
commit
0db5b6d3d8
@ -181,6 +181,7 @@ void HashFromFilesDlg::setHashType(hashType hashType2set)
|
|||||||
void HashFromFilesDlg::doDialog(bool isRTL)
|
void HashFromFilesDlg::doDialog(bool isRTL)
|
||||||
{
|
{
|
||||||
if (!isCreated())
|
if (!isCreated())
|
||||||
|
{
|
||||||
create(IDD_HASHFROMFILES_DLG, isRTL);
|
create(IDD_HASHFROMFILES_DLG, isRTL);
|
||||||
|
|
||||||
if (_ht == hash_sha256)
|
if (_ht == hash_sha256)
|
||||||
@ -191,6 +192,7 @@ void HashFromFilesDlg::doDialog(bool isRTL)
|
|||||||
generic_string buttonText = TEXT("Choose files to generate SHA-256...");
|
generic_string buttonText = TEXT("Choose files to generate SHA-256...");
|
||||||
::SetDlgItemText(_hSelf, IDC_HASH_FILEBROWSER_BUTTON, buttonText.c_str());
|
::SetDlgItemText(_hSelf, IDC_HASH_FILEBROWSER_BUTTON, buttonText.c_str());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Adjust the position in the center
|
// Adjust the position in the center
|
||||||
goToCenter();
|
goToCenter();
|
||||||
@ -382,6 +384,7 @@ void HashFromTextDlg::setHashType(hashType hashType2set)
|
|||||||
void HashFromTextDlg::doDialog(bool isRTL)
|
void HashFromTextDlg::doDialog(bool isRTL)
|
||||||
{
|
{
|
||||||
if (!isCreated())
|
if (!isCreated())
|
||||||
|
{
|
||||||
create(IDD_HASHFROMTEXT_DLG, isRTL);
|
create(IDD_HASHFROMTEXT_DLG, isRTL);
|
||||||
|
|
||||||
if (_ht == hash_sha256)
|
if (_ht == hash_sha256)
|
||||||
@ -389,6 +392,7 @@ void HashFromTextDlg::doDialog(bool isRTL)
|
|||||||
generic_string title = TEXT("Generate SHA-256 digest");
|
generic_string title = TEXT("Generate SHA-256 digest");
|
||||||
::SetWindowText(_hSelf, title.c_str());
|
::SetWindowText(_hSelf, title.c_str());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Adjust the position in the center
|
// Adjust the position in the center
|
||||||
goToCenter();
|
goToCenter();
|
||||||
|
Loading…
Reference in New Issue
Block a user