# HG changeset patch # User Chris Cannam # Date 1341229538 -3600 # Node ID 7ee215c095dd6466ad5409b72841608cebfba147 # Parent a7ab511107faf47575e22f8d929fcd925f6d21b4 Add canReplaceMainAudio indicator signal diff -r a7ab511107fa -r 7ee215c095dd framework/MainWindowBase.cpp --- 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 && diff -r a7ab511107fa -r 7ee215c095dd framework/MainWindowBase.h --- 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);