Mercurial > hg > svapp
changeset 188:32c13c46abd6
* Fix crash on play after New Session
author | Chris Cannam |
---|---|
date | Tue, 05 Jan 2010 15:57:34 +0000 |
parents | 5a40619c72d8 |
children | 017206f2e4c5 |
files | framework/MainWindowBase.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Thu Oct 22 15:54:21 2009 +0000 +++ b/framework/MainWindowBase.cpp Tue Jan 05 15:57:34 2010 +0000 @@ -404,7 +404,7 @@ emit canEditLayerTabular(haveCurrentEditableLayer || haveTabularLayer); emit canMeasureLayer(haveCurrentLayer); emit canSelect(haveMainModel && haveCurrentPane); - emit canPlay(havePlayTarget); + emit canPlay(haveMainModel && havePlayTarget); emit canFfwd(true); emit canRewind(true); emit canPaste(haveClipboardContents);