From b65a70e580dda04fa3ca37e14b9338b09d280395 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Sep 2025 17:26:33 -0600 Subject: [PATCH] fix thinko-delete in 9f4d84dcb4 that broke step entry (and maybe other things too) --- libs/gtkmm2ext/actions.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libs/gtkmm2ext/actions.cc b/libs/gtkmm2ext/actions.cc index bef6f78aa6..62edd0cad8 100644 --- a/libs/gtkmm2ext/actions.cc +++ b/libs/gtkmm2ext/actions.cc @@ -464,16 +464,17 @@ ActionManager::register_radio_action (RefPtr group, { string fullpath; - RefPtr act = RadioAction::create (rgroup, name, label); - DEBUG_TRACE (PBD::DEBUG::Actions, string_compose ("created radio-action %1 in %2 success: %3\n", name, group->get_name(), (bool) act)); + RefPtr ract = RadioAction::create (rgroup, name, label); + DEBUG_TRACE (PBD::DEBUG::Actions, string_compose ("created radio-action %1 in %2 success: %3\n", name, group->get_name(), (bool) ract)) + ract->property_value() = value; fullpath = group->get_name(); fullpath += '/'; fullpath += name; - if (actions.insert (ActionMap::value_type (fullpath, act)).second) { - group->add (act, sigc::bind (sl, act->gobj())); - return act; + if (actions.insert (ActionMap::value_type (fullpath, ract)).second) { + group->add (ract, sigc::bind (sl, ract->gobj())); + return ract; } /* already registered */