Update SetupWizard.cpp

This commit is contained in:
DavidXanatos 2022-08-10 16:20:47 +02:00
parent dca2dc5ba5
commit 238cb44969
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ bool CCertificatePage::isComplete() const
bool CCertificatePage::validatePage()
{
QByteArray Certificate = m_pCertificate->toPlainText().toLatin1();
QByteArray Certificate = m_pCertificate->toPlainText().toUtf8();
if (!m_pEvaluate->isChecked() && !Certificate.isEmpty() && g_Certificate != Certificate) {
return CSettingsWindow::ApplyCertificate(Certificate, this);
}