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

Fix search dialogs to focus on the text field (issue #98) #103

Closed cfgnunes closed 3 years ago

cfgnunes commented 3 years ago

Hi!

I've fixed the bug from issue #98

When I press CTRL-F to open the Find dialog, the focus remains on the text and not on the search field.

Sometimes, this issue is a bit annoying if you're using only the keyboard because you always need to click on the search text field to enter the search word.

This problem does not occur when I open the search dialog by using the mouse, clicking on "Edit... -> Find...".

evpo commented 3 years ago

I appreciate the fix. Thanks a lot.