Skip to content

Commit

Permalink
Fix code search close button behavior (#960)
Browse files Browse the repository at this point in the history
Fixes #959 

Clear the highlights in the code and remember the last searched word
  • Loading branch information
UrtsiSantsi committed Jul 10, 2024
1 parent 05d6c3c commit fa3f77e
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 fa3f77e

Please sign in to comment.