projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c880b6
)
distribute use of RouteAddedOrRemoved to appropriate places.
author
Paul Davis
<paul@linuxaudiosystems.com>
Fri, 8 May 2015 20:12:51 +0000
(16:12 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:11 +0000
(14:18 -0400)
It might be wise to use this rather than GUIIdle but that needs further investigation
libs/ardour/session.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session.cc
b/libs/ardour/session.cc
index e69ddfabcaf628ec4de53278615144d45147ab05..7f9e26dffebfce74096f737864a89fa890c6a8e7 100644
(file)
--- a/
libs/ardour/session.cc
+++ b/
libs/ardour/session.cc
@@
-2191,6
+2191,8
@@
Session::new_midi_track (const ChanCount& input, const ChanCount& output, boost:
new_routes.push_back (track);
ret.push_back (track);
+
+ RouteAddedOrRemoved (true); /* EMIT SIGNAL */
}
catch (failed_constructor &err) {
@@
-2581,6
+2583,8
@@
Session::new_audio_route (int input_channels, int output_channels, RouteGroup* r
ret.push_back (bus);
+ RouteAddedOrRemoved (true); /* EMIT SIGNAL */
+
ARDOUR::GUIIdle ();
}
@@
-2705,6
+2709,8
@@
Session::new_route_from_template (uint32_t how_many, const std::string& template
++control_id;
ret.push_back (route);
+
+ RouteAddedOrRemoved (true); /* EMIT SIGNAL */
}
catch (failed_constructor &err) {