diff view/ViewManager.cpp @ 972:1011ffb1b6d5 osx-retina

Merge from default branch
author Chris Cannam
date Wed, 10 Jun 2015 13:38:02 +0100
parents 4d54882bbf73
children f2c63ec85901
line wrap: on
line diff
--- a/view/ViewManager.cpp	Thu May 21 16:05:14 2015 +0100
+++ b/view/ViewManager.cpp	Wed Jun 10 13:38:02 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);