Mercurial > hg > svapp
changeset 453:549f77216048
Rewind/ffwd shouldn't be available when nothing loaded
author | Chris Cannam |
---|---|
date | Wed, 06 May 2015 13:30:43 +0100 |
parents | c651a736ebc4 |
children | 1ab4ac6b2fcb |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Wed May 06 13:00:57 2015 +0100 +++ b/framework/MainWindowBase.cpp Wed May 06 13:30:43 2015 +0100 @@ -597,8 +597,8 @@ emit canMeasureLayer(haveCurrentLayer); emit canSelect(haveMainModel && haveCurrentPane); emit canPlay(haveMainModel && havePlayTarget); - emit canFfwd(true); - emit canRewind(true); + emit canFfwd(haveMainModel); + emit canRewind(haveMainModel); emit canPaste(haveClipboardContents); emit canInsertInstant(haveCurrentPane); emit canInsertInstantsAtBoundaries(haveCurrentPane && haveSelection);