diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-26 17:50:29 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-26 17:50:29 +0000 |
commit | 54ce76e8fd7d6c4840cbdfabd6034bae008f520e (patch) | |
tree | d4269c635995756a3441a4dbc604622945ba233b /libs/ardour/route_group.cc | |
parent | b5431ab2fc9c758d6b227c2acf1bf055bd70d1dd (diff) |
remove "edit" property from track/bus groups; use "select" property which should force region selection to propagate, and then rely on "edit-applies-to-selection"
git-svn-id: svn://localhost/ardour2/branches/3.0@13734 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route_group.cc')
-rw-r--r-- | libs/ardour/route_group.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/libs/ardour/route_group.cc b/libs/ardour/route_group.cc index ed684d3c9f..55183bd0b8 100644 --- a/libs/ardour/route_group.cc +++ b/libs/ardour/route_group.cc @@ -46,7 +46,6 @@ namespace ARDOUR { PropertyDescriptor<bool> solo; PropertyDescriptor<bool> recenable; PropertyDescriptor<bool> select; - PropertyDescriptor<bool> edit; PropertyDescriptor<bool> route_active; PropertyDescriptor<bool> color; PropertyDescriptor<bool> monitoring; @@ -72,8 +71,6 @@ RouteGroup::make_property_quarks () DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for recenable = %1\n", Properties::recenable.property_id)); Properties::select.property_id = g_quark_from_static_string (X_("select")); DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for select = %1\n", Properties::select.property_id)); - Properties::edit.property_id = g_quark_from_static_string (X_("edit")); - DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for edit = %1\n", Properties::edit.property_id)); Properties::route_active.property_id = g_quark_from_static_string (X_("route-active")); DEBUG_TRACE (DEBUG::Properties, string_compose ("quark for route-active = %1\n", Properties::route_active.property_id)); Properties::color.property_id = g_quark_from_static_string (X_("color")); @@ -90,7 +87,6 @@ RouteGroup::make_property_quarks () , _solo (Properties::solo, false) \ , _recenable (Properties::recenable, false) \ , _select (Properties::select, false) \ - , _edit (Properties::edit, false) \ , _route_active (Properties::route_active, false) \ , _color (Properties::color, false) \ , _monitoring (Properties::monitoring, false) @@ -110,7 +106,6 @@ RouteGroup::RouteGroup (Session& s, const string &n) add_property (_solo); add_property (_recenable); add_property (_select); - add_property (_edit); add_property (_route_active); add_property (_color); add_property (_monitoring); @@ -286,7 +281,6 @@ RouteGroup::set_state_2X (const XMLNode& node, int /*version*/) _mute = true; _solo = true; _recenable = true; - _edit = false; _route_active = true; _color = false; } else if (node.name() == "EditGroup") { @@ -294,7 +288,6 @@ RouteGroup::set_state_2X (const XMLNode& node, int /*version*/) _mute = false; _solo = false; _recenable = false; - _edit = true; _route_active = false; _color = false; } @@ -353,16 +346,6 @@ RouteGroup::set_select (bool yn) } void -RouteGroup::set_edit (bool yn) -{ - if (is_edit() == yn) { - return; - } - _edit = yn; - send_change (PropertyChange (Properties::edit)); -} - -void RouteGroup::set_route_active (bool yn) { if (is_route_active() == yn) { |