use method instead of a direct call, to centralize logic

This commit is contained in:
Paul Davis 2025-06-28 22:45:08 -06:00
parent ad6b6f1e30
commit 87b50a4ecd

View file

@ -315,7 +315,7 @@ EditingContext::register_automation_actions (Bindings* automation_bindings, std:
reg_sens (_automation_actions, "raise-points", _("Create Automation Point (at Playhead)"), sigc::mem_fun (*this, &EditingContext::automation_raise_points));
reg_sens (_automation_actions, "lower-points", _("Create Automation Point (at Playhead)"), sigc::mem_fun (*this, &EditingContext::automation_lower_points));
ActionManager::set_sensitive (_automation_actions, false);
disable_automation_bindings ();
}
void