From 9c7ce7e1f0db5824959fb74474c1d99ad4cb8a07 Mon Sep 17 00:00:00 2001 From: Nicolai Syvertsen Date: Wed, 20 Dec 2023 22:24:57 +0100 Subject: [PATCH] Add comment explaining commected out code. --- src/profile_dropdown.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/profile_dropdown.rs b/src/profile_dropdown.rs index fde3992..2fe30e1 100644 --- a/src/profile_dropdown.rs +++ b/src/profile_dropdown.rs @@ -185,6 +185,8 @@ 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); } });