changeset 259:7ee215c095dd sv_v2.0

Add canReplaceMainAudio indicator signal
author Chris Cannam
date Mon, 02 Jul 2012 12:45:38 +0100
parents a7ab511107fa
children 14f08ccbec4c
files framework/MainWindowBase.cpp framework/MainWindowBase.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp	Fri Jun 22 09:26:09 2012 +0100
+++ b/framework/MainWindowBase.cpp	Mon Jul 02 12:45:38 2012 +0100
@@ -441,6 +441,7 @@
     emit canScroll(haveMainModel && haveCurrentPane);
     emit canAddLayer(haveMainModel && haveCurrentPane);
     emit canImportMoreAudio(haveMainModel);
+    emit canReplaceMainAudio(haveMainModel);
     emit canImportLayer(haveMainModel && haveCurrentPane);
     emit canExportAudio(haveMainModel);
     emit canExportLayer(haveMainModel &&
--- a/framework/MainWindowBase.h	Fri Jun 22 09:26:09 2012 +0100
+++ b/framework/MainWindowBase.h	Mon Jul 02 12:45:38 2012 +0100
@@ -118,6 +118,7 @@
     void canDeleteCurrentPane(bool);
     void canAddLayer(bool);
     void canImportMoreAudio(bool);
+    void canReplaceMainAudio(bool);
     void canImportLayer(bool);
     void canExportAudio(bool);
     void canExportLayer(bool);