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:
Marco Trevisan (Treviño) 2020-12-11 01:24:52 +01:00 committed by Benjamin Berg
parent 5a7b9e09bf
commit 269feb1940

View file

@ -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);
}
}