feat(ui): Added preferences search

This commit is contained in:
Observer KRypt0n_ 2023-04-09 19:00:07 +02:00
parent 3b8ec10938
commit 9189a6722b
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2
3 changed files with 4 additions and 3 deletions

View file

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added game edition switcher
- Added changelog to updated components toast
- Added wine tools to settings
- Added preferences search
### Fixed

View file

@ -86,6 +86,7 @@ impl SimpleComponent for AboutDialog {
"<li>Added game edition switcher</li>",
"<li>Added changelog to updated components toast</li>",
"<li>Added wine tools to settings</li>",
"<li>Added preferences search</li>",
"</ul>",
"<p>Fixed</p>",

View file

@ -57,11 +57,10 @@ impl SimpleAsyncComponent for PreferencesApp {
preferences_window = adw::PreferencesWindow {
set_title: Some(&tr("preferences")),
set_default_size: (700, 560),
set_hide_on_close: true,
set_modal: true,
// FIXME: doesn't work for any reason
set_search_enabled: false,
set_search_enabled: true,
add = model.general.widget(),
add = model.enhancements.widget(),