From a7259d8cabadf9f35c29368837d90cdaa8b6bdd1 Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Sun, 15 Oct 2023 11:18:48 +0200 Subject: Fix autocomplete preference bugs --- src/ui/preferences_window.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/ui/preferences_window.rs') 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(); -- cgit 1.4.1