# HG changeset patch # User Chris Cannam # Date 1430915443 -3600 # Node ID 549f772160484927754b245436281bfcb401468e # Parent c651a736ebc497cf4104fe2db6a8f97efc412de1 Rewind/ffwd shouldn't be available when nothing loaded diff -r c651a736ebc4 -r 549f77216048 framework/MainWindowBase.cpp --- 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);