diff framework/MainWindowBase.cpp @ 289:2925a4bbca5e

Add dedicated signal for ability to change template
author Chris Cannam
date Tue, 09 Jul 2013 11:44:51 +0100
parents 7ee215c095dd
children a3fcaad1a269 3fc0df289533
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);