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

Ensure update of line action on text changed after editing finished

The mEditFinished flag needs to be reset before updateKey() is called,
so that line action and tooltip are updated correctly.

GnuPG-bug-id: 5845
parent 4d3c5b42
......@@ -166,12 +166,12 @@ CertificateLineEdit::CertificateLineEdit(AbstractKeyListModel *model,
void CertificateLineEdit::editChanged()
{
mEditFinished = false;
updateKey();
if (!mEditStarted) {
Q_EMIT editingStarted();
mEditStarted = true;
}
mEditFinished = false;
}
void CertificateLineEdit::editFinished()
......
Markdown is supported
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