Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refocus textview after Escape pressed in Search #1388

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

jeremypw
Copy link
Collaborator

FIxes #1387

The existing code appears to do this but it does not work - probably because the MainWindow also handles "Escape".

This fixes the issue by refocusing the text view using the MainWindow handler.

In preparation for Gtk4 an EventControllerKey is used to trigger the handler.

@colinkiama colinkiama merged commit 344f1f8 into master Dec 20, 2023
6 checks passed
@colinkiama colinkiama deleted the refocus-textview-after-escape branch December 20, 2023 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text view not refocused after pressing Escape in Search bar
2 participants