diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/editor_routes.h | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index 8ab17897d7..b249c0a100 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -72,13 +72,13 @@ EditorRoutes::EditorRoutes (Editor* e) , _no_redisplay (false) , _adding_routes (false) , _route_deletion_in_progress (false) + , _redisplay_on_resume (false) , _redisplay_active (0) , _queue_tv_update (0) , _menu (0) , old_focus (0) , selection_countdown (0) , name_editable (0) - , _redisplay_on_resume (false) { static const int column_width = 22; diff --git a/gtk2_ardour/editor_routes.h b/gtk2_ardour/editor_routes.h index d0c32a8e8b..94a2186a4c 100644 --- a/gtk2_ardour/editor_routes.h +++ b/gtk2_ardour/editor_routes.h @@ -38,11 +38,12 @@ public: void move_selected_tracks (bool); void show_track_in_display (TimeAxisView &); - bool _redisplay_on_resume; void suspend_redisplay () { - _redisplay_on_resume = false; - _no_redisplay = true; + if (!_no_redisplay) { + _no_redisplay = true; + _redisplay_on_resume = false; + } } void resume_redisplay () { @@ -160,6 +161,7 @@ private: bool _no_redisplay; bool _adding_routes; bool _route_deletion_in_progress; + bool _redisplay_on_resume; volatile gint _redisplay_active; volatile gint _queue_tv_update; |