Commit c588a624 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Set key/group summary if we have a key/group on editing finished

This has the effect that, when the user hits Enter after entering some
text matching exactly one key or group, then the text in the line edit
is "auto-completed" with the key/group summary text. Apart from the
visual feedback this should also trigger audible feedback by screen
readers. (ocra does read the auto-completed summary text.)

GnuPG-bug-id: 5845
parent 8994f1ce
Pipeline #147116 passed with stage
in 1 minute and 49 seconds
......@@ -179,7 +179,15 @@ void CertificateLineEdit::editFinished()
mEditStarted = false;
mEditFinished = true;
if (!key().isNull()) {
QSignalBlocker blocky{this};
} else if (!group().isNull()) {
QSignalBlocker blocky{this};
} else {
void CertificateLineEdit::checkLocate()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment