diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-27 19:18:33 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-27 22:17:53 +0100 |
commit | cc82fc675b096c3dfec76d0c45671b78c85007cf (patch) | |
tree | 4acd88079a01f3f52f624818186c6db14b83e0c7 /gtk2_ardour/editor_ops.cc | |
parent | 4821def1736c55866fc6f354dcd98a61c3451101 (diff) |
remove editor/mixer selection change signals; make editor and mixer use PresentationInfo::Change more correctly; make Selection a bit smarter when setting track selection
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index ed83da2d80..4df88b9025 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -7379,10 +7379,10 @@ edit your ardour.rc file to set the\n\ } } - Mixer_UI::instance()->selection().block_routes_changed (true); - selection->block_tracks_changed (true); { + PresentationInfo::ChangeSuspender cs; DisplaySuspender ds; + boost::shared_ptr<RouteList> rl (new RouteList); for (vector<boost::shared_ptr<Route> >::iterator x = routes.begin(); x != routes.end(); ++x) { rl->push_back (*x); @@ -7393,9 +7393,6 @@ edit your ardour.rc file to set the\n\ * destructors are called, * diskstream drops references, save_state is called (again for every track) */ - selection->block_tracks_changed (false); - Mixer_UI::instance()->selection().block_routes_changed (false); - selection->TracksChanged (); /* EMIT SIGNAL */ } void |