fixed #1614
This commit is contained in:
parent
11350d6b97
commit
e7b267fa8c
1 changed files with 4 additions and 4 deletions
|
@ -608,10 +608,10 @@ Ptr<Glib::ustring>::Ref
|
||||||
ScratchpadWindow :: contents(void) throw ()
|
ScratchpadWindow :: contents(void) throw ()
|
||||||
{
|
{
|
||||||
std::ostringstream contentsStream;
|
std::ostringstream contentsStream;
|
||||||
Gtk::TreeModel::const_iterator it;
|
Gtk::TreeModel::const_reverse_iterator it;
|
||||||
|
|
||||||
for (it = treeModel->children().begin();
|
for (it = treeModel->children().rbegin();
|
||||||
it != treeModel->children().end(); ++it) {
|
it != treeModel->children().rend(); ++it) {
|
||||||
Gtk::TreeRow row = *it;
|
Gtk::TreeRow row = *it;
|
||||||
Ptr<Playable>::Ref playable = row[modelColumns.playableColumn];
|
Ptr<Playable>::Ref playable = row[modelColumns.playableColumn];
|
||||||
contentsStream << playable->getId()->getId() << " ";
|
contentsStream << playable->getId()->getId() << " ";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue