diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-03-10 15:54:54 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-03-10 15:58:01 -0500 |
commit | f214488d0f05af736427cf82868fee4e05e1febb (patch) | |
tree | 35e821ad32446e7e89669c64c94d52669a873fb8 /gtk2_ardour/group_tabs.cc | |
parent | a2b35aa634b7dce6f3047e85f16a0664f71f3695 (diff) |
Groups created from the (edit,mix) windows should share the same default properties.
In the past, we chose different defaults in homage to ardour's old mix/edit groups.
But that wasn't a very good idea.
For now they have all properties enabled and the user can disable them as-needed.
It might also be nice to make the user's property selections perist for new groups.
Diffstat (limited to 'gtk2_ardour/group_tabs.cc')
-rw-r--r-- | gtk2_ardour/group_tabs.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gtk2_ardour/group_tabs.cc b/gtk2_ardour/group_tabs.cc index b64713362a..99a21668c1 100644 --- a/gtk2_ardour/group_tabs.cc +++ b/gtk2_ardour/group_tabs.cc @@ -395,6 +395,26 @@ GroupTabs::new_from_soloed () run_new_group_dialog (soloed); } +PBD::PropertyList +GroupTabs::default_properties () const +{ + PBD::PropertyList plist; + + plist.add (Properties::route_active, true); + plist.add (Properties::active, true); + plist.add (Properties::gain, true); + plist.add (Properties::relative, true); + plist.add (Properties::color, true); + plist.add (Properties::monitoring, true); + plist.add (Properties::select, true); + plist.add (Properties::mute, true); + plist.add (Properties::solo, true); + plist.add (Properties::gain, true); + plist.add (Properties::recenable, true); + + return plist; +} + void GroupTabs::run_new_group_dialog (RouteList const & rl) { |