mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix session-open after selecting new, template, then back
This commit is contained in:
parent
5cffe7fa84
commit
08e564dc2e
1 changed files with 5 additions and 0 deletions
|
|
@ -265,6 +265,11 @@ SessionDialog::master_channel_count ()
|
||||||
bool
|
bool
|
||||||
SessionDialog::use_session_template () const
|
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()) {
|
if (!load_template_override.empty()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue