- vector<string> t;
- t.push_back (_("one track per file"));
- t.push_back (_("one track per channel"));
- t.push_back (_("sequence files"));
- t.push_back (_("all files in one region"));
- set_popdown_strings (channel_combo, t);
+ str.clear ();
+ str.push_back (_("one track per file"));
+ str.push_back (_("one track per channel"));
+ str.push_back (_("sequence files"));
+ str.push_back (_("all files in one region"));
+ set_popdown_strings (channel_combo, str);
+
+ str.clear ();
+ str.push_back (importmode2string (ImportAsTrack));
+ str.push_back (importmode2string (ImportToTrack));
+ str.push_back (importmode2string (ImportAsRegion));
+ str.push_back (importmode2string (ImportAsTapeTrack));
+ set_popdown_strings (action_combo, str);
+ action_combo.set_active_text (importmode2string(mode_hint));