projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482a90c
)
make sure the template selector has an item visible if there are any
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 21 Sep 2013 17:22:06 +0000
(13:22 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 21 Sep 2013 17:22:06 +0000
(13:22 -0400)
gtk2_ardour/startup.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/startup.cc
b/gtk2_ardour/startup.cc
index ed6d3b020efebbd414a6c6db2d8988b42f22f0a9..5d9e1742496e1d60177e1d898f0cd449282fdf00 100644
(file)
--- a/
gtk2_ardour/startup.cc
+++ b/
gtk2_ardour/startup.cc
@@
-730,6
+730,11
@@
ArdourStartup::populate_session_templates ()
row[session_template_columns.name] = (*x).name;
row[session_template_columns.path] = (*x).path;
}
+
+ if (!templates.empty()) {
+ /* select first row */
+ template_chooser.set_active (0);
+ }
}
void