[Sv1-commits] SF.net SVN: sv1:[1672] sonic-visualiser/trunk/framework/MainWindowBase.cpp
Brought to you by:
cannam
From: <ca...@us...> - 2010-01-05 15:57:41
|
Revision: 1672 http://sv1.svn.sourceforge.net/sv1/?rev=1672&view=rev Author: cannam Date: 2010-01-05 15:57:34 +0000 (Tue, 05 Jan 2010) Log Message: ----------- * Fix crash on play after New Session Modified Paths: -------------- sonic-visualiser/trunk/framework/MainWindowBase.cpp Modified: sonic-visualiser/trunk/framework/MainWindowBase.cpp =================================================================== --- sonic-visualiser/trunk/framework/MainWindowBase.cpp 2009-12-09 22:06:12 UTC (rev 1671) +++ sonic-visualiser/trunk/framework/MainWindowBase.cpp 2010-01-05 15:57:34 UTC (rev 1672) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |