diff options
Diffstat (limited to 'src/ui/preferences_window.rs')
-rw-r--r-- | src/ui/preferences_window.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/preferences_window.rs b/src/ui/preferences_window.rs index 756e3ad..1b827fe 100644 --- a/src/ui/preferences_window.rs +++ b/src/ui/preferences_window.rs @@ -229,6 +229,11 @@ impl FurPreferencesWindow { window.reset_history_box(); }); + imp.autocomplete_switch.connect_active_notify(move |switch| { + let window = FurtheranceWindow::default(); + window.reset_autocomplete(); + }); + imp.pomodoro_expander .connect_enable_expansion_notify(move |_| { let window = FurtheranceWindow::default(); |