mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
check for null ActionGroup in ActionManager::drop_action_group()
This commit is contained in:
parent
c0fa42a203
commit
0dab69fe74
1 changed files with 4 additions and 0 deletions
|
|
@ -564,6 +564,10 @@ ActionManager::get_all_actions (std::vector<std::string>& paths,
|
|||
void
|
||||
ActionManager::drop_action_group (Glib::RefPtr<ActionGroup> group)
|
||||
{
|
||||
if (!group) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* Although ActionGroups are refcnt'ed we hold a reference on the
|
||||
actions they contain in our global actions map. So an action group, if
|
||||
to be deleted fully, needs to be passed in here first so that we can
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue