diff options
author | Carl Hetherington <carl@carlh.net> | 2009-07-01 23:20:18 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-07-01 23:20:18 +0000 |
commit | 5b97b137663d0990d1a3ac172f01b200a45e4692 (patch) | |
tree | f0d18663e4eadf52e2e805eb5f946e6ca1f5e234 /gtk2_ardour/editor_ops.cc | |
parent | 236868761c1823cafa328ce4e25a7d7f66ef402c (diff) |
Separate route list code from Editor into its own object, EditorRouteList. Hopefully makes things a bit better.
git-svn-id: svn://localhost/ardour2/branches/3.0@5302 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 325ac07922..47ef27dc28 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -77,6 +77,7 @@ #include "utils.h" #include "editor_drag.h" #include "strip_silence_dialog.h" +#include "editor_route_list.h" #include "i18n.h" @@ -1743,8 +1744,8 @@ Editor::temporal_zoom_region (bool both_axes) } /* hide irrelevant tracks */ - - no_route_list_redisplay = true; + + _route_list->suspend_redisplay (); for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) { if (find (tracks.begin(), tracks.end(), (*i)) == tracks.end()) { @@ -1752,8 +1753,7 @@ Editor::temporal_zoom_region (bool both_axes) } } - no_route_list_redisplay = false; - redisplay_route_list (); + _route_list->resume_redisplay (); vertical_adjustment.set_value (0.0); no_save_visual = false; |