Update export format when 'upload to soundcloud' changes.

This commit is contained in:
Colin Fletcher 2013-10-07 20:22:56 +01:00
parent a3465ff5d3
commit 8b9a1fae6a
4 changed files with 14 additions and 0 deletions

View file

@ -145,6 +145,7 @@ ExportFormatDialog::ExportFormatDialog (FormatPtr format, bool new_dialog) :
with_cue.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_cue));
with_toc.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_with_toc));
upload_checkbox.signal_toggled().connect (sigc::mem_fun (*this, &ExportFormatDialog::update_upload));
cue_toc_vbox.pack_start (with_cue, false, false);
cue_toc_vbox.pack_start (with_toc, false, false);
@ -722,6 +723,11 @@ ExportFormatDialog::update_with_toc ()
}
void
ExportFormatDialog::update_upload ()
{
manager.select_upload (upload_checkbox.get_active());
}
ExportFormatDialog::update_description()
{
std::string text = ": " + format->description(false);