Home GnuPG

qt: Prevent possible crash when generating pin

Description

qt: Prevent possible crash when generating pin

* qt/pinentrydialog.cpp (PinEntryDialog::toggleVisibility): Check
visibility action for nullptr.

This crash occurs if the visibility checkbox is created instead of the
visibility action of the password input field. This happens if the
icons for the visibility action cannot be found.

Details

Provenance
ikloeckerAuthored on Aug 12 2021, 4:05 PM
Parents
rP1349fb7bcb5c: qt: Change calculation of end of selection when enabling formatting
Branches
Unknown
Tags
Unknown