mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue