evpo / EncryptPad

Minimalist secure text editor and binary encryptor that implements RFC 4880 Open PGP format: symmetrically encrypted, compressed and integrity protected. The editor can protect files with passwords, key files or both.
https://evpo.net/encryptpad
Other
433 stars 64 forks source link

Set automatic focus on 'Passphrase' text field when opening ".gpg" files. #121

Closed cfgnunes closed 2 years ago

cfgnunes commented 2 years ago

When I open a ".epd" file with a passphrase set, the focus is on 'Passphrase' text field. So, I don't need to use the mouse to click to start putting my password.

When I open a ".gpg" file, there is no focus. So, I need to use the mouse to click in the 'Passphrase' field to start putting my password.

I think this feature is important because it is a bit boring to use the mouse every time when I open a '.gpg' file.

I think fixing this is easy. When I have some time, I make this correction to the code and open a 'pull request'.

Best regards,

cfgnunes commented 2 years ago

Hi @evpo ! I've fixed this issue.

Please, accept the pull request https://github.com/evpo/EncryptPad/pull/122

Thanks!