Skip to content

Commit

Permalink
clear on close
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Mar 21, 2024
1 parent 1ade379 commit c40b6f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Widgets/Sidebar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public class Widgets.Sidebar : Gtk.Box {
search_revealer.notify["child-revealed"].connect (() => {
if (search_revealer.child_revealed) {
search_entry.grab_focus ();
} else {
search_entry.text = "";
}
});

Expand Down

0 comments on commit c40b6f5

Please sign in to comment.