~fabrixxm/oliver

60e72bcf23ea317aaa60a6cdf0f22c2de91335cd — fabrixxm 5 months ago 4236a8b
Start search on keypress

only if a valid project is loaded
1 files changed, 3 insertions(+), 2 deletions(-)

M src/window.blp
M src/window.blp => src/window.blp +3 -2
@@ 40,8 40,9 @@ template $OliverWindow : Adw.ApplicationWindow {

      [top]
      SearchBar {
        search-mode-enabled: bind search_button.active;
        show-close-button: true;
        sensitive: bind template.isValidProject;
        search-mode-enabled: bind search_button.active bidirectional;
        key-capture-widget: template;
        SearchEntry search {
          text: bind template.search_query bidirectional;
        }