diff --git a/ChangeLog b/ChangeLog index d3cbf6fce..f23bc9fc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2003-12-15 Moritz Bunkus + * mmg: The input box will automatically select the first track + when a file is selected. Upon track selection the input focus is + set to the track name input box. + * mmg: The chapter editor automatically focuses the chapter name input box whenever a chapter entry is selected. diff --git a/src/mmg/tab_input.cpp b/src/mmg/tab_input.cpp index 1b9ff6d5b..463e0dec6 100644 --- a/src/mmg/tab_input.cpp +++ b/src/mmg/tab_input.cpp @@ -780,7 +780,8 @@ void tab_input::on_file_selected(wxCommandEvent &evt) { clb_tracks->Enable(true); selected_track = -1; selected_file = new_sel; - no_track_mode(); + clb_tracks->SetSelection(0); + on_track_selected(evt); } void tab_input::on_nochapters_clicked(wxCommandEvent &evt) { @@ -842,9 +843,10 @@ void tab_input::on_track_selected(wxCommandEvent &evt) { cob_aspect_ratio->SetValue(*t->aspect_ratio); tc_display_width->SetValue(*t->dwidth); tc_display_height->SetValue(*t->dheight); - selected_track = new_sel; + selected_track = new_sel; cob_compression->SetValue(*t->compression); tc_timecodes->SetValue(*t->timecodes); + tc_track_name->SetFocus(); } void tab_input::on_track_enabled(wxCommandEvent &evt) {