mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
make sure the template selector has an item visible if there are any
This commit is contained in:
parent
482a90cccf
commit
e33b29d672
1 changed files with 5 additions and 0 deletions
|
|
@ -730,6 +730,11 @@ ArdourStartup::populate_session_templates ()
|
||||||
row[session_template_columns.name] = (*x).name;
|
row[session_template_columns.name] = (*x).name;
|
||||||
row[session_template_columns.path] = (*x).path;
|
row[session_template_columns.path] = (*x).path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!templates.empty()) {
|
||||||
|
/* select first row */
|
||||||
|
template_chooser.set_active (0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue