File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ void WebEidDialog::onSingleCertificateReady(const QUrl& origin,
215215 tr (" By confirming authentication, I agree to submit my name and personal "
216216 " identification number to the website" ));
217217 ui->pinTitleLabel ->setText (tr (" Please enter authentication PIN (PIN 1):" ));
218+ break ;
218219 case CommandType::SIGN:
219220 ui->pinInputCertificateInfo ->setCertificateInfo (certAndPin);
220221 ui->pinInputPageTitleLabel ->setText (tr (" Sign" ));
@@ -302,6 +303,7 @@ void WebEidDialog::onVerifyPinFailed(const electronic_id::VerifyPinFailed::Statu
302303 onRetryImpl (message);
303304 } else {
304305 ui->pinInput ->show ();
306+ ui->pinInput ->setFocus ();
305307 ui->pinTitleLabel ->show ();
306308 ui->okButton ->setDisabled (true );
307309 ui->cancelButton ->setEnabled (true );
@@ -415,6 +417,9 @@ void WebEidDialog::displayPinRetriesRemaining(PinInfo::PinRetriesCount pinRetrie
415417 ui->pinErrorLabel ->setText (tr (" %n retries left" , nullptr , int (pinRetriesCount.first )));
416418 ui->pinErrorLabel ->show ();
417419 }
420+ if (!ui->pinEntryTimeoutProgressBar ->isVisible ()) {
421+ ui->pinInput ->setFocus ();
422+ }
418423}
419424
420425void WebEidDialog::displayPinBlockedError ()
You can’t perform that action at this time.
0 commit comments