diff --git a/CHANGELOG.md b/CHANGELOG.md index a69d53e..fb80491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/ui/about.rs b/src/ui/about.rs index 163adeb..50f1f20 100644 --- a/src/ui/about.rs +++ b/src/ui/about.rs @@ -86,6 +86,7 @@ impl SimpleComponent for AboutDialog { "
  • Added game edition switcher
  • ", "
  • Added changelog to updated components toast
  • ", "
  • Added wine tools to settings
  • ", + "
  • Added preferences search
  • ", "", "

    Fixed

    ", diff --git a/src/ui/preferences/main.rs b/src/ui/preferences/main.rs index 1d232a3..a95c80c 100644 --- a/src/ui/preferences/main.rs +++ b/src/ui/preferences/main.rs @@ -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(),