summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-09-04 05:26:35 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-09-04 05:26:35 +0000
commit7a5a4bb5689069f75f6b4006830dd3845aadd171 (patch)
tree39718c73f2745b50c26f143da2e77f1af03e1852 /gtk2_ardour
parent189071eae2b94339dde9ab694388910a1afb525c (diff)
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/new_session_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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