Skip to content

Commit

Permalink
fix: update audio toggles sensitivity on mapped
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaDve committed Feb 10, 2024
1 parent 1d18d5e commit f15b79e
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,20 @@ mod imp {
obj.setup_settings();

obj.update_view();
obj.update_audio_toggles_sensitivity();
obj.update_title_label();
obj.update_subtitle_label();
}
}

impl WidgetImpl for Window {}
impl WidgetImpl for Window {
fn map(&self) {
self.parent_map();

let obj = self.obj();

obj.update_audio_toggles_sensitivity();
}
}

impl WindowImpl for Window {
fn close_request(&self) -> glib::Propagation {
Expand Down

0 comments on commit f15b79e

Please sign in to comment.