Mercurial > hg > svapp
changeset 289:2925a4bbca5e
Add dedicated signal for ability to change template
author | Chris Cannam |
---|---|
date | Tue, 09 Jul 2013 11:44:51 +0100 |
parents | 868db2bf6a69 |
children | a3fcaad1a269 3fc0df289533 |
files | framework/MainWindowBase.cpp framework/MainWindowBase.h |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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);