projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498dfeb
)
Fix update of the editor mixer when its route is removed; this stops routes (and...
author
Carl Hetherington
<carl@carlh.net>
Mon, 9 Nov 2009 23:43:13 +0000
(23:43 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Mon, 9 Nov 2009 23:43:13 +0000
(23:43 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@6049
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor.cc
b/gtk2_ardour/editor.cc
index 60d6c9a3a4c18ffc10db70eb30169e81d359cda0..5b8cb55be8361cb3b8204de3d3b1ca5175f4c5fb 100644
(file)
--- a/
gtk2_ardour/editor.cc
+++ b/
gtk2_ardour/editor.cc
@@
-4954,7
+4954,13
@@
Editor::remove_route (TimeAxisView *tv)
ENSURE_GUI_THREAD(bind (mem_fun(*this, &Editor::remove_route), tv));
TrackViewList::iterator i;
+
boost::shared_ptr<Route> route;
+ RouteTimeAxisView* rtav = dynamic_cast<RouteTimeAxisView*> (tv);
+ if (rtav) {
+ route = rtav->route ();
+ }
+
TimeAxisView* next_tv = 0;
if (tv == entered_track) {