From 7a5a4bb5689069f75f6b4006830dd3845aadd171 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Tue, 4 Sep 2007 05:26:35 +0000 Subject: [PATCH] Only show child rows for session snapshots when there is more than 1 snapshot in the recent session treeview of the NewSessionDialog git-svn-id: svn://localhost/ardour2/trunk@2391 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/new_session_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc index fb07daeacc..3edf751613 100644 --- a/gtk2_ardour/new_session_dialog.cc +++ b/gtk2_ardour/new_session_dialog.cc @@ -759,7 +759,7 @@ NewSessionDialog::reset_recent() row[recent_columns.visible_name] = Glib::path_get_basename (fullpath); row[recent_columns.fullpath] = fullpath; - if (state_file_names.size()) { + if (state_file_names.size() > 1) { // add the children