From f1be9114c2b9c800a27ddf06f943dcef33d61ba1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 16 Sep 2015 01:21:10 +0200 Subject: [PATCH] inspect snapshot for its info (not parent) --- gtk2_ardour/session_dialog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 13d114c770..26bb9356f0 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -703,10 +703,11 @@ SessionDialog::redisplay_recent_sessions () // add the children for (std::vector::iterator i2 = state_file_names.begin(); i2 != state_file_names.end(); ++i2) { + s = Glib::build_filename (dirname, *i2 + statefile_suffix); Gtk::TreeModel::Row child_row = *(recent_session_model->append (row.children())); child_row[recent_session_columns.visible_name] = *i2; - child_row[recent_session_columns.fullpath] = Glib::build_filename (dirname, *i2 + statefile_suffix); + child_row[recent_session_columns.fullpath] = s; child_row[recent_session_columns.tip] = Glib::Markup::escape_text (dirname); if (Session::get_info_from_path (s, sr, sf) == 0) {