diff view/ViewManager.cpp @ 976:f2c63ec85901 alignment-simple

Branch to test simple FFT model code
author Chris Cannam
date Mon, 15 Jun 2015 09:15:55 +0100
parents 36cddc3de023 4d54882bbf73
children e0ac21f07ab0
line wrap: on
line diff
--- a/view/ViewManager.cpp	Mon Apr 20 09:19:52 2015 +0100
+++ b/view/ViewManager.cpp	Mon Jun 15 09:15:55 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);