Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 139:2cf711ed89e2
* Add some informative labels to transform finder
author | Chris Cannam |
---|---|
date | Wed, 19 Nov 2008 14:55:17 +0000 |
parents | b742f579ced0 |
children | 9ccaa8fd9b9f |
comparison
equal
deleted
inserted
replaced
138:c0b176d86be7 | 139:2cf711ed89e2 |
---|---|
1749 void | 1749 void |
1750 MainWindowBase::ffwdEnd() | 1750 MainWindowBase::ffwdEnd() |
1751 { | 1751 { |
1752 if (!getMainModel()) return; | 1752 if (!getMainModel()) return; |
1753 | 1753 |
1754 if (m_playSource && | |
1755 m_playSource->isPlaying() && | |
1756 !m_viewManager->getPlayLoopMode()) { | |
1757 stop(); | |
1758 } | |
1759 | |
1754 size_t frame = getMainModel()->getEndFrame(); | 1760 size_t frame = getMainModel()->getEndFrame(); |
1755 | 1761 |
1756 if (m_viewManager->getPlaySelectionMode()) { | 1762 if (m_viewManager->getPlaySelectionMode()) { |
1757 frame = m_viewManager->constrainFrameToSelection(frame); | 1763 frame = m_viewManager->constrainFrameToSelection(frame); |
1758 } | 1764 } |