diff options
author | Robin Gareus <robin@gareus.org> | 2018-11-21 23:21:52 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-11-21 23:21:52 +0100 |
commit | 14c390ed027b3ba1c48084502677d1a1287bfc05 (patch) | |
tree | 21f45addd99e3c5fb50f99a9c2c6a0ccf976443b /gtk2_ardour/export_format_dialog.cc | |
parent | 555dcd11fd3c25282e0c16f99efdddc42d824ed4 (diff) |
Update codec-quality display when ExportFormat changes
Diffstat (limited to 'gtk2_ardour/export_format_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_format_dialog.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/export_format_dialog.cc b/gtk2_ardour/export_format_dialog.cc index 61e12822bd..4d87828d6b 100644 --- a/gtk2_ardour/export_format_dialog.cc +++ b/gtk2_ardour/export_format_dialog.cc @@ -661,6 +661,8 @@ ExportFormatDialog::update_selection (Glib::RefPtr<Gtk::ListStore> & list, Gtk:: bool selected = selection->is_selected (it); it->get_value (cols.ptr)->set_selected (selected); } + + set_codec_quality_selection (); } void @@ -1136,7 +1138,12 @@ ExportFormatDialog::fill_codec_quality_lists (boost::shared_ptr<ARDOUR::HasCodec row[codec_quality_cols.quality] = (*it)->quality; row[codec_quality_cols.label] = (*it)->name; } + set_codec_quality_selection (); +} +void +ExportFormatDialog::set_codec_quality_selection () +{ for (Gtk::ListStore::Children::iterator it = codec_quality_list->children().begin(); it != codec_quality_list->children().end(); ++it) { if (it->get_value (codec_quality_cols.quality) == format->codec_quality()) { codec_quality_combo.set_active (it); |