From b3e447f4215ed18ce362af95ff486630d0ef529f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 16 Sep 2015 18:21:00 +0200 Subject: [PATCH] highlight default sort column --- 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 2664bc1ddb..aca3f66fa9 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -599,7 +599,7 @@ SessionDialog::redisplay_recent_sessions () recent_session_display.set_model (recent_session_model); return 0; } - // + // sort them alphabetically sort (rs.begin(), rs.end(), cmp); @@ -750,6 +750,7 @@ SessionDialog::redisplay_recent_sessions () Gtk::TreeView::Column* pColumn; if ((pColumn = recent_session_display.get_column (0))) { // name pColumn->set_sort_column (recent_session_columns.visible_name); + pColumn->set_sort_indicator (true); } if ((pColumn = recent_session_display.get_column (3))) { // date pColumn->set_sort_column (recent_session_columns.time_modified); // unixtime