Validate uid certification input.

Check all input in the popup before calling KeyEdit::
This commit is contained in:
SET
2020-11-22 14:48:27 +01:00
parent 6f15ab4d06
commit 14964f9862
3 changed files with 30 additions and 3 deletions

View File

@@ -149,6 +149,11 @@ public:
{
return m_btnApply;
}
/**
* Check required parameters are set and confirmed.
* @return
*/
bool Validate() const;
private:
TransientMessageWidget * m_tmwMessage;
WContainerWidget * m_cwMain;
@@ -163,6 +168,7 @@ private:
// WCheckBox * m_cbOptionTrust; // Always fails
WText * m_lblPassphrase;
WLineEdit * m_lePassphrase;
WCheckBox * m_cbConfirm;
WPushButton * m_btnApply;
vector<uint> m_uidsToSign;