diff --git a/ChangeLog b/ChangeLog index faf6fca5a..9dbe2573a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-29 Moritz Bunkus + + * mmgL bug fixL the »playlist items« list box in the »select + playlist file to add« dialog was showing the items in reversed + order. Fixes #952. + 2013-12-28 Moritz Bunkus * mmg: bug fix: the »select playlist file to add« dialog can now diff --git a/src/mmg/tabs/select_scanned_file_dlg.cpp b/src/mmg/tabs/select_scanned_file_dlg.cpp index ba5579914..ba11de826 100644 --- a/src/mmg/tabs/select_scanned_file_dlg.cpp +++ b/src/mmg/tabs/select_scanned_file_dlg.cpp @@ -213,6 +213,7 @@ select_scanned_file_dlg::update_info() { for (auto &file : playlist.files) { auto id = m_lc_items->InsertItem(idx, wxFileName{file}.GetFullName()); m_lc_items->SetItem(id, 1, wxFileName{file}.GetPath()); + ++idx; } m_lc_items->SetColumnWidth(0, wxLIST_AUTOSIZE);