fingerprint-dialog: Always call EnrollStop on enrollment completed
Even if we got an error we need to always call EnrollStop so don't unset enrolling_finger status until we're really done with it.
This commit is contained in:
parent
5a7b9e09bf
commit
269feb1940
1 changed files with 0 additions and 1 deletions
|
@ -732,7 +732,6 @@ handle_enroll_signal (CcFingerprintDialog *self,
|
|||
else
|
||||
message = _("Failed to enroll new fingerprint");
|
||||
|
||||
self->enrolling_finger = NULL;
|
||||
set_enroll_result_message (self, ENROLL_STATE_WARNING, message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue