diff options
author | Robin Gareus <robin@gareus.org> | 2017-08-24 02:08:32 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-08-24 02:08:32 +0200 |
commit | 08e564dc2e65e3c80b362024ffe5ca89962dc00f (patch) | |
tree | 9aecd1e8cb46ffdf7b64c7fe602c7c7b9b55bac3 | |
parent | 5cffe7fa840481cd7c332ed058016eada49eed6c (diff) |
Fix session-open after selecting new, template, then back
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index b73514c1aa..172acef3c8 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -265,6 +265,11 @@ SessionDialog::master_channel_count () bool SessionDialog::use_session_template () const { + if (!back_button->sensitive () && !new_only) { + /* open session -- not create a new one */ + return false; + } + if (!load_template_override.empty()) { return true; } |