comparison framework/MainWindowBase.cpp @ 188:32c13c46abd6

* Fix crash on play after New Session
author Chris Cannam
date Tue, 05 Jan 2010 15:57:34 +0000
parents 5a40619c72d8
children 68a0a2625a66
comparison
equal deleted inserted replaced
187:5a40619c72d8 188:32c13c46abd6
402 emit canRenameLayer(haveCurrentLayer); 402 emit canRenameLayer(haveCurrentLayer);
403 emit canEditLayer(haveCurrentEditableLayer); 403 emit canEditLayer(haveCurrentEditableLayer);
404 emit canEditLayerTabular(haveCurrentEditableLayer || haveTabularLayer); 404 emit canEditLayerTabular(haveCurrentEditableLayer || haveTabularLayer);
405 emit canMeasureLayer(haveCurrentLayer); 405 emit canMeasureLayer(haveCurrentLayer);
406 emit canSelect(haveMainModel && haveCurrentPane); 406 emit canSelect(haveMainModel && haveCurrentPane);
407 emit canPlay(havePlayTarget); 407 emit canPlay(haveMainModel && havePlayTarget);
408 emit canFfwd(true); 408 emit canFfwd(true);
409 emit canRewind(true); 409 emit canRewind(true);
410 emit canPaste(haveClipboardContents); 410 emit canPaste(haveClipboardContents);
411 emit canInsertInstant(haveCurrentPane); 411 emit canInsertInstant(haveCurrentPane);
412 emit canInsertInstantsAtBoundaries(haveCurrentPane && haveSelection); 412 emit canInsertInstantsAtBoundaries(haveCurrentPane && haveSelection);