Skip to content

Commit

Permalink
Fix code search close button behavior (#959)
Browse files Browse the repository at this point in the history
Clear the highlights in the code and remember the last searched word
  • Loading branch information
UrtsiSantsi committed Jul 4, 2024
1 parent bdf7bed commit 23dc6f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/CodeFind.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Search extends Gtk.Revealer {
}

onClose() {
this.reveal_child = false;
this.#endSearch(true);
}

#addControllers() {
Expand Down

0 comments on commit 23dc6f3

Please sign in to comment.