comparison framework/MainWindowBase.cpp @ 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 ea30a8c4cb93 56acd9368532
comparison
equal deleted inserted replaced
452:c651a736ebc4 453:549f77216048
595 emit canEditLayer(haveCurrentEditableLayer); 595 emit canEditLayer(haveCurrentEditableLayer);
596 emit canEditLayerTabular(haveCurrentEditableLayer || haveTabularLayer); 596 emit canEditLayerTabular(haveCurrentEditableLayer || haveTabularLayer);
597 emit canMeasureLayer(haveCurrentLayer); 597 emit canMeasureLayer(haveCurrentLayer);
598 emit canSelect(haveMainModel && haveCurrentPane); 598 emit canSelect(haveMainModel && haveCurrentPane);
599 emit canPlay(haveMainModel && havePlayTarget); 599 emit canPlay(haveMainModel && havePlayTarget);
600 emit canFfwd(true); 600 emit canFfwd(haveMainModel);
601 emit canRewind(true); 601 emit canRewind(haveMainModel);
602 emit canPaste(haveClipboardContents); 602 emit canPaste(haveClipboardContents);
603 emit canInsertInstant(haveCurrentPane); 603 emit canInsertInstant(haveCurrentPane);
604 emit canInsertInstantsAtBoundaries(haveCurrentPane && haveSelection); 604 emit canInsertInstantsAtBoundaries(haveCurrentPane && haveSelection);
605 emit canInsertItemAtSelection(haveCurrentPane && haveSelection && haveCurrentDurationLayer); 605 emit canInsertItemAtSelection(haveCurrentPane && haveSelection && haveCurrentDurationLayer);
606 emit canRenumberInstants(haveCurrentTimeInstantsLayer && haveSelection); 606 emit canRenumberInstants(haveCurrentTimeInstantsLayer && haveSelection);