diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-30 18:52:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-30 19:19:31 +0200 |
commit | 0e85408c59f6236d88abfab1d2c143cfcd27433e (patch) | |
tree | a8f384b9f5c1e7fe77a3ed30446f82e6f7ea5948 /gtk2_ardour/editor_routes.h | |
parent | a3209b9b91f7efe5c8ee02c408fe5b11cba591f8 (diff) |
cleanup display suspend.
Diffstat (limited to 'gtk2_ardour/editor_routes.h')
-rw-r--r-- | gtk2_ardour/editor_routes.h | 8 |
1 files changed, 5 insertions, 3 deletions
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; |