projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cffe7f
)
Fix session-open after selecting new, template, then back
author
Robin Gareus
<robin@gareus.org>
Thu, 24 Aug 2017 00:08:32 +0000
(
02:08
+0200)
committer
Robin Gareus
<robin@gareus.org>
Thu, 24 Aug 2017 00:08:32 +0000
(
02:08
+0200)
gtk2_ardour/session_dialog.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/session_dialog.cc
b/gtk2_ardour/session_dialog.cc
index b73514c1aab4910cc0976938d6b0c0b923281e4f..172acef3c8fd3014bd799b8907c59412950ee791 100644
(file)
--- 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;
}