diff --git a/ChangeLog b/ChangeLog index 7eb74799c..bb379c7c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-10-10 Moritz Bunkus + + * mmg: bug fix: After loading saved mmg settings the track input + box listed the tracks always coming from the last input file and + not from the one they really came from. + 2004-10-09 Moritz Bunkus * mmg: enhancement: Made mmg's main window properly resizable. diff --git a/src/mmg/tab_input.cpp b/src/mmg/tab_input.cpp index 62e2187d5..98f10b5c7 100644 --- a/src/mmg/tab_input.cpp +++ b/src/mmg/tab_input.cpp @@ -1550,8 +1550,9 @@ tab_input::load(wxConfigBase *cfg) { tracks.push_back(t); fix_format("%s (ID %lld, type: %s) from %s", format); - name = fi.file_name->AfterLast(wxT(PSEP)); - name += wxT(" (") + fi.file_name->BeforeLast(wxT(PSEP)) + wxT(")"); + name = files[fidx].file_name->AfterLast(wxT(PSEP)); + name += wxT(" (") + files[fidx].file_name->BeforeLast(wxT(PSEP)) + + wxT(")"); label.Printf(wxU(format.c_str()), t->ctype->c_str(), t->id, t->type == 'a' ? wxT("audio") : t->type == 'v' ? wxT("video") :