fix crash during new session setup related to template choice
git-svn-id: svn://localhost/ardour2/branches/3.0@5019 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2e7c10b6ef
commit
62fe887e24
|
@ -142,7 +142,7 @@ bool
|
|||
ArdourStartup::use_session_template ()
|
||||
{
|
||||
if (use_template_button.get_active()) {
|
||||
return template_chooser.get_active_row_number() != 0;
|
||||
return template_chooser.get_active_row_number() > 0;
|
||||
} else {
|
||||
return !session_template_chooser.get_filename().empty();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user