diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-10-07 20:22:56 +0100 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2013-10-07 20:22:56 +0100 |
commit | 8b9a1fae6a580b526b3fc784581e6d0c8031b6db (patch) | |
tree | 3af68d2592492135ae315340cfb71d4dd3ec7340 /libs | |
parent | a3465ff5d3b830e79a0e383b3c85df0c8cc3af9e (diff) |
Update export format when 'upload to soundcloud' changes.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/export_format_manager.h | 1 | ||||
-rw-r--r-- | libs/ardour/export_format_manager.cc | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_format_manager.h b/libs/ardour/ardour/export_format_manager.h index 2b5d0ad804..4b4e43ae9c 100644 --- a/libs/ardour/ardour/export_format_manager.h +++ b/libs/ardour/ardour/export_format_manager.h @@ -100,6 +100,7 @@ class ExportFormatManager : public PBD::ScopedConnectionList void select_with_cue (bool); void select_with_toc (bool); + void select_upload (bool); void select_src_quality (ExportFormatBase::SRCQuality value); void select_trim_beginning (bool value); void select_silence_beginning (AnyTime const & time); diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc index 890623c114..c8bd0c0aa9 100644 --- a/libs/ardour/export_format_manager.cc +++ b/libs/ardour/export_format_manager.cc @@ -294,6 +294,12 @@ ExportFormatManager::select_with_toc (bool value) } void +ExportFormatManager::select_upload (bool value) +{ + current_selection->set_upload (value); + check_for_description_change (); +} + ExportFormatManager::select_trim_beginning (bool value) { current_selection->set_trim_beginning (value); |