# HG changeset patch # User Chris Cannam # Date 1432218672 -3600 # Node ID 4d54882bbf739b424afebd9c11f70cb9f07261ba # Parent faa8532e4f02e4881f8816f563669ca8e14ffc87 Avoid going pop when setting play head to before time 0 diff -r faa8532e4f02 -r 4d54882bbf73 view/ViewManager.cpp --- a/view/ViewManager.cpp Thu May 21 14:41:28 2015 +0100 +++ b/view/ViewManager.cpp Thu May 21 15:31:12 2015 +0100 @@ -166,6 +166,7 @@ void ViewManager::setPlaybackFrame(sv_frame_t f) { + if (f < 0) f = 0; if (m_playbackFrame != f) { m_playbackFrame = f; emit playbackFrameChanged(f);