Home GnuPG

qt: Keep selection when enabling/disabling passphrase formatting

Description

qt: Keep selection when enabling/disabling passphrase formatting

* qt/pinlineedit.cpp (struct Selection): New.
(PinLineEdit::Private::formattedSelection,
PinLineEdit::Private::formattedSelection): New.
(PinLineEdit::setFormattedPassphrase): Restore adjusted selection after
setting formatted/unformatted passphrase.

Details

Provenance
ikloeckerAuthored on Jul 14 2021, 3:36 PM
Parents
rP64695a5e6f7b: qt: Enable formatted passphrase after generating passphrase
Branches
Unknown
Tags
Unknown
Tasks
T5517: Improvements for symmetric encryption