diff --git a/interfaces/main.ui b/interfaces/main.ui index 08d97a4..641ef69 100644 --- a/interfaces/main.ui +++ b/interfaces/main.ui @@ -432,6 +432,7 @@ True True + 13 label 0 diff --git a/src/main.rs b/src/main.rs index f86ba36..097844c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -476,6 +476,7 @@ pub fn build_ui(application: &Application) { let _delay_window = delay_window.clone(); let _delay_window_button = delay_window_button.clone(); let mut _ffmpeg_record_interface = ffmpeg_record_interface.clone(); + let _main_window = main_window.clone(); let _play_button = play_button.clone(); let _record_button = record_button.clone(); let _record_time_label = record_time_label.clone(); @@ -506,6 +507,7 @@ pub fn build_ui(application: &Application) { _ => { start_timer(record_time_label.clone()); record_time_label.set_visible(true); + _main_window.minimize(); _play_button.hide(); _record_button.hide(); _stop_button.show();