Remove useless conditional.
Not forwarding customized message to UI in EditUidValidity().
This commit is contained in:
12
KeyEdit.cpp
12
KeyEdit.cpp
@@ -176,19 +176,11 @@ void KeyEdit::EditUidValidity()
|
||||
}
|
||||
if (e.code() != 0)
|
||||
{
|
||||
m_owner->m_tmwMessage->SetText(e.asString());
|
||||
m_popupCertifyUid->ShowPassphrase(true);
|
||||
LGE(e);
|
||||
if (m_popupCertifyUid->WhatToDo() == PopupCertifyUserId::CertifyUid)
|
||||
{
|
||||
m_owner->m_tmwMessage->SetText(e.asString());
|
||||
m_popupCertifyUid->ShowPassphrase(true);
|
||||
return;
|
||||
}
|
||||
else {
|
||||
m_owner->m_tmwMessage->SetText(e.asString());
|
||||
m_popupCertifyUid->ShowPassphrase(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (m_popupCertifyUid->WhatToDo() == PopupCertifyUserId::CertifyUid)
|
||||
m_owner->m_tmwMessage->SetText(TR("CertificationSuccess"));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user