mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix thinko-delete in 9f4d84dcb4 that broke step entry (and maybe other things too)
This commit is contained in:
parent
07c86bb472
commit
b65a70e580
1 changed files with 6 additions and 5 deletions
|
|
@ -464,16 +464,17 @@ ActionManager::register_radio_action (RefPtr<ActionGroup> group,
|
||||||
{
|
{
|
||||||
string fullpath;
|
string fullpath;
|
||||||
|
|
||||||
RefPtr<RadioAction> act = RadioAction::create (rgroup, name, label);
|
RefPtr<RadioAction> 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) act));
|
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 = group->get_name();
|
||||||
fullpath += '/';
|
fullpath += '/';
|
||||||
fullpath += name;
|
fullpath += name;
|
||||||
|
|
||||||
if (actions.insert (ActionMap::value_type (fullpath, act)).second) {
|
if (actions.insert (ActionMap::value_type (fullpath, ract)).second) {
|
||||||
group->add (act, sigc::bind (sl, act->gobj()));
|
group->add (ract, sigc::bind (sl, ract->gobj()));
|
||||||
return act;
|
return ract;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* already registered */
|
/* already registered */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue