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