# HG changeset patch # User Chris Cannam # Date 1262707054 0 # Node ID 32c13c46abd67ec026b67894f1f250a014392eff # Parent 5a40619c72d82e7e21a68ca31b80021b9cd50170 * Fix crash on play after New Session diff -r 5a40619c72d8 -r 32c13c46abd6 framework/MainWindowBase.cpp --- 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);