diff options
author | Robin Gareus <robin@gareus.org> | 2013-04-09 17:13:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-04-09 17:13:42 +0200 |
commit | 082de27a4e4b192e541c95cb90b97be67d5ed2d0 (patch) | |
tree | 0d2b7c4b109b2a9cc17f9fc7dd99529d28b47df1 /gtk2_ardour/video_timeline.cc | |
parent | ed1f310f109279347906bbcb85757b5a54792e26 (diff) |
vtl: query video-monitor-state on explicit session save
Diffstat (limited to 'gtk2_ardour/video_timeline.cc')
-rw-r--r-- | gtk2_ardour/video_timeline.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/video_timeline.cc b/gtk2_ardour/video_timeline.cc index 78b5f0345d..2953fd8277 100644 --- a/gtk2_ardour/video_timeline.cc +++ b/gtk2_ardour/video_timeline.cc @@ -95,6 +95,9 @@ VideoTimeLine::save_session () _session->add_extra_xml (*node); if (vmonitor) { + if (vmonitor->is_started()) { + vmonitor->query_full_state(true); + } vmonitor->save_session(); } @@ -130,7 +133,6 @@ VideoTimeLine::sync_session_state () if (!_session || !vmonitor || !vmonitor->is_started()) { return; } - vmonitor->query_full_state(true); save_session(); } |