summaryrefslogtreecommitdiff
path: root/gtk2_ardour/startup.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-28 00:52:27 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-28 00:52:27 +0000
commit40f5747a7f59eb33f3d1675c2c5a04f68772acc1 (patch)
tree16d7ca4126854501f3be6a863549e5890ea08895 /gtk2_ardour/startup.h
parentba6cc76ec026c5626dd545966677a467ac341b73 (diff)
Only rebuild the existing session box once, but show it as many times as required. Fixes #3421.
git-svn-id: svn://localhost/ardour2/branches/3.0@7700 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/startup.h')
-rw-r--r--gtk2_ardour/startup.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/startup.h b/gtk2_ardour/startup.h
index 397b7314e6..95803785c1 100644
--- a/gtk2_ardour/startup.h
+++ b/gtk2_ardour/startup.h
@@ -141,8 +141,6 @@ class ArdourStartup : public Gtk::Assistant {
/* recent sessions */
void setup_existing_session_page ();
- /** true when setup_existing_session_page () has already been called at least once */
- bool _have_setup_existing_session_page;
struct RecentSessionsSorter {
bool operator() (std::pair<std::string,std::string> a, std::pair<std::string,std::string> b) const {
@@ -198,6 +196,7 @@ class ArdourStartup : public Gtk::Assistant {
Gtk::ComboBox template_chooser;
Gtk::VBox session_new_vbox;
+ Gtk::VBox session_existing_vbox;
Gtk::CheckButton more_new_session_options_button;
Gtk::RadioButtonGroup session_template_group;
Gtk::RadioButton use_session_as_template_button;