# HG changeset patch # User Chris Cannam # Date 1373366691 -3600 # Node ID 2925a4bbca5e86036d564aaac1bcf7fd11226ca9 # Parent 868db2bf6a694ab766cbf73b6b9c2a84907387d5 Add dedicated signal for ability to change template diff -r 868db2bf6a69 -r 2925a4bbca5e framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Thu May 16 15:00:21 2013 +0100 +++ b/framework/MainWindowBase.cpp Tue Jul 09 11:44:51 2013 +0100 @@ -444,6 +444,7 @@ emit canReplaceMainAudio(haveMainModel); emit canImportLayer(haveMainModel && haveCurrentPane); emit canExportAudio(haveMainModel); + emit canChangeSessionTemplate(haveMainModel); emit canExportLayer(haveMainModel && (haveCurrentEditableLayer || haveCurrentColour3DPlot)); emit canExportImage(haveMainModel && haveCurrentPane); diff -r 868db2bf6a69 -r 2925a4bbca5e framework/MainWindowBase.h --- a/framework/MainWindowBase.h Thu May 16 15:00:21 2013 +0100 +++ b/framework/MainWindowBase.h Tue Jul 09 11:44:51 2013 +0100 @@ -120,6 +120,7 @@ void canImportMoreAudio(bool); void canReplaceMainAudio(bool); void canImportLayer(bool); + void canChangeSessionTemplate(bool); void canExportAudio(bool); void canExportLayer(bool); void canExportImage(bool);