Gtk::Label* l;
ColumnInfo ci[] = {
- { 0, _("Col"), _("Group Tab Color") },
- { 1, _("Name"), _("Name of Group") },
- { 2, _("V"), _("Group is visible?") },
- { 3, _("On"), _("Group is enabled?") },
- { 4, S_("group|G"), _("Sharing Gain?") },
- { 5, S_("relative|Rel"), _("Relative Gain Changes?") },
- { 6, S_("mute|M"), _("Sharing Mute?") },
- { 7, S_("solo|S"), _("Sharing Solo?") },
- { 8, _("Rec"), _("Sharing Record-enable Status?") },
- { 9, S_("monitoring|Mon"), _("Sharing Monitoring Choice?") },
- { 10, S_("selection|Sel"), _("Sharing Selected/Editing Status?") },
- { 11, S_("active|A"), _("Sharing Active Status?") },
+ { 0, _("Col"), _("Group Tab Color") },
+ { 1, _("Name"), _("Name of Group") },
+ { 2, S_("Visible|V"), _("Group is visible?") },
+ { 3, _("On"), _("Group is enabled?") },
+ { 4, S_("Group|G"), _("Sharing Gain?") },
+ { 5, S_("Relative|Rel"), _("Relative Gain Changes?") },
+ { 6, S_("Mute|M"), _("Sharing Mute?") },
+ { 7, S_("Solo|S"), _("Sharing Solo?") },
+ { 8, _("Rec"), _("Sharing Record-enable Status?") },
+ { 9, S_("Monitoring|Mon"), _("Sharing Monitoring Choice?") },
+ { 10, S_("Selection|Sel"), _("Sharing Selected/Editing Status?") },
+ { 11, S_("Active|A"), _("Sharing Active Status?") },
{ -1, 0, 0 }
};
Glib::RefPtr<TreeSelection> selection = _display.get_selection();
TreeView::Selection::ListHandle_Path rows = selection->get_selected_rows ();
- if (rows.empty()) {
+ if (rows.empty() || _session->deletion_in_progress()) {
return;
}
case RESPONSE_ACCEPT:
c = color_dialog.get_colorsel()->get_current_color();
GroupTabs::set_group_color (group, gdk_color_to_rgba (c));
- ARDOUR_UI::config()->set_dirty ();
break;
default:
void
EditorRouteGroups::property_changed (RouteGroup* group, const PropertyChange&)
{
+ assert(group);
_in_row_change = true;
Gtk::TreeModel::Children children = _model->children();
if (_session) {
- RouteGroup& arg (_session->all_route_group());
-
_session->route_group_added.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&EditorRouteGroups::add, this, _1), gui_context());
_session->route_group_removed.connect (
_session_connections, MISSING_INVALIDATOR, boost::bind (&EditorRouteGroups::groups_changed, this), gui_context()
void
EditorRouteGroups::row_deleted (Gtk::TreeModel::Path const &)
{
- if (_in_rebuild) {
+ if (_in_rebuild || !_session || _session->deletion_in_progress()) {
/* We need to ignore this in cases where we're not doing a drag-and-drop
re-order.
*/