summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2009-01-21 08:32:23 +0000
committerHans Baier <hansfbaier@googlemail.com>2009-01-21 08:32:23 +0000
commit33852a0728d081864b83e74e900802be7ab6f2aa (patch)
tree1d8d6098a6652db161bacdcc96f2952f7f975ccc /gtk2_ardour/route_time_axis.cc
parentc5659dda6e5840d60b58420d6b8a730955a8052e (diff)
* Added Menu to add a Program change parameter lane
* made adding automation lanes add them for every active channel on the track * Evoral::Parameter.hpp: Strict weak ordering again: make the proof a bit easier to read Make the implementation conform to the proof order Parameters according to type, then channel, then id git-svn-id: svn://localhost/ardour2/branches/3.0@4421 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 5035814fa2..e544122ccd 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -1665,7 +1665,8 @@ RouteTimeAxisView::automation_track_hidden (Evoral::Parameter param)
if (!ran) {
return;
}
-
+
+ // if Evoral::Parameter::operator< doesn't obey strict weak ordering, we may crash here....
_show_automation.erase(param);
ran->track->get_state_node()->add_property (X_("shown"), X_("no"));