Skip to content

Commit fa3f77e

Browse files
authored
Fix code search close button behavior (#960)
Fixes #959 Clear the highlights in the code and remember the last searched word
1 parent 05d6c3c commit fa3f77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/CodeFind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Search extends Gtk.Revealer {
7272
}
7373

7474
onClose() {
75-
this.reveal_child = false;
75+
this.#endSearch(true);
7676
}
7777

7878
#addControllers() {

0 commit comments

Comments
 (0)