From 91798775b7b5319bab3630dec066d891b38c532d Mon Sep 17 00:00:00 2001 From: ochibani <11yzyv86j@relay.firefox.com> Date: Wed, 1 Jan 2025 08:31:13 +0200 Subject: [PATCH] update switchs --- gui/src/ui.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/src/ui.rs b/gui/src/ui.rs index a320c0e..2fe407c 100644 --- a/gui/src/ui.rs +++ b/gui/src/ui.rs @@ -692,8 +692,7 @@ fn build_ui(application: &Application, error_dialog: MessageDialog, error_messag let audio_input_id = audio_source_combobox.active_id().unwrap().to_string(); let audio_output_id = output_device; let audio_record_bitrate = audio_bitrate_spin.value() as u16; - let filename = "~/record.mp4".to_string(); - /*let filename = folder_chooser_native + let filename = folder_chooser_native .file() .unwrap() .path() @@ -708,7 +707,7 @@ fn build_ui(application: &Application, error_dialog: MessageDialog, error_messag format_chooser_combobox.active_id().unwrap() ))) .as_path() - .display().to_string();*/ + .display().to_string(); let follow_mouse = follow_mouse_switch.is_active(); let mode = if area_grab_button.is_active() { RecordMode::Area