X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Ftime_fx_dialog.cc;h=f166768834517130f2f5ab549ac78ab59c03f706;hb=b502bbc61895d61c39bf240b47e8a3664be2c541;hp=04280e00111aee0ec73a1efd1556796dc704b462;hpb=8687895abba4209a6de8d8a8fc1bda5996f0d875;p=ardour.git diff --git a/gtk2_ardour/time_fx_dialog.cc b/gtk2_ardour/time_fx_dialog.cc index 04280e0011..f166768834 100644 --- a/gtk2_ardour/time_fx_dialog.cc +++ b/gtk2_ardour/time_fx_dialog.cc @@ -41,7 +41,6 @@ #include "ardour/audioplaylist.h" #include "ardour/audio_track.h" #include "ardour/audioregion.h" -#include "ardour/audio_diskstream.h" #include "ardour/stretch.h" #include "ardour/midi_stretch.h" #include "ardour/pitch.h" @@ -146,7 +145,7 @@ TimeFXDialog::TimeFXDialog (Editor& e, bool pitch) set_popdown_strings (stretch_opts_selector, editor.rb_opt_strings); /* set default */ - stretch_opts_selector.set_active_text (editor.rb_opt_strings[4]); + stretch_opts_selector.set_active_text (editor.rb_opt_strings[editor.rb_current_opt]); table->attach (stretch_opts_selector, 2, 3, 0, 1, Gtk::FILL, Gtk::EXPAND & Gtk::FILL, 0, 0); table->attach (precise_button, 1, 3, 1, 2, Gtk::FILL, Gtk::EXPAND, 0, 0); @@ -171,8 +170,6 @@ TimeFXDialog::TimeFXDialog (Editor& e, bool pitch) l = manage (new Label (_("Progress"), Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER, false)); l->set_use_markup (); - progress_bar.set_name (N_("TimeFXProgress")); - progress_box->pack_start (*l, false, false); progress_box->pack_start (progress_bar, false, true);