Skip to content

Commit

Permalink
We can enable this code again.
Browse files Browse the repository at this point in the history
  • Loading branch information
saivert committed Dec 20, 2023
1 parent 9c7ce7e commit 9f5fb18
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/profile_dropdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,7 @@ mod imp {
if let Some(deviceobject) = widget.deviceobject() {
wp::log::critical!("Had set profile to {}", dropdown.selected());

// NOTE: Commented out for now as it is annoying to have to reset the card profiles
// every time this code isn't doing the right thing.
//deviceobject.set_profile(dropdown.selected() as i32);
deviceobject.set_profile(dropdown.selected() as i32);
}
});
self.profile_dropdown.connect_closure("notify::selected", true, selected_handler);
Expand Down

0 comments on commit 9f5fb18

Please sign in to comment.