From 115514431ef15769ab89706c0144148cb6b63e98 Mon Sep 17 00:00:00 2001 From: ochibani <11yzyv86j@relay.firefox.com> Date: Wed, 1 Jan 2025 08:29:38 +0200 Subject: [PATCH] update switchs --- gui/src/ui.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/gui/src/ui.rs b/gui/src/ui.rs index 3a2743e..a320c0e 100644 --- a/gui/src/ui.rs +++ b/gui/src/ui.rs @@ -240,7 +240,6 @@ fn build_ui(application: &Application, error_dialog: MessageDialog, error_messag config_management::set_bool("default", "audio_input_check", switch.is_active()); if !switch.is_active() && !_video_switch.is_active() { _mouse_switch.set_sensitive(true); - _video_switch.set_active(true); } }); follow_mouse_switch.connect_toggled(|switch: &CheckButton| { @@ -264,8 +263,6 @@ fn build_ui(application: &Application, error_dialog: MessageDialog, error_messag _follow_mouse_switch.set_sensitive(true); _mouse_switch.set_sensitive(true); } else { - _audio_input_switch.set_active(true); - _audio_input_switch.set_sensitive(true); _mouse_switch.set_active(false); _mouse_switch.set_sensitive(false); _follow_mouse_switch.set_active(false);