diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-05-08 16:12:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-29 14:18:11 -0400 |
commit | 43f4b8248534664ad0b970f4f01c873d6603f57a (patch) | |
tree | 9eac04c575ab60f8db6ed796f3f8661f52da353e /libs | |
parent | 8c880b652964c883bda0034686b684ab4d0b8a2f (diff) |
distribute use of RouteAddedOrRemoved to appropriate places.
It might be wise to use this rather than GUIIdle but that needs further investigation
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index e69ddfabca..7f9e26dffe 100644 --- 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) { |