Browse Source

implement search method

PHP-GTK3
yggverse 5 months ago
parent
commit
3649f21b52
  1. 21
      src/Entity/Window/Tab/History.php

21
src/Entity/Window/Tab/History.php

@ -50,4 +50,25 @@ class History @@ -50,4 +50,25 @@ class History
0
);
}
public function search(
?string $filter = null
): void
{
$this->navbar->filter->setValue(
trim(
strval(
$filter
)
)
);
$this->content->search(
trim(
strval(
$filter
)
)
);
}
}
Loading…
Cancel
Save