summaryrefslogtreecommitdiff
path: root/gtk2_ardour/startup.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-03-14 15:11:31 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-03-14 15:11:31 -0400
commitb11c1fd15da2e5ac0d837e022d2de28bd434e4d0 (patch)
tree0e2a3c29c7dca4600b46d10bdeda619778da4de1 /gtk2_ardour/startup.cc
parentde194b48e5d8f612c5b2b2ac51f7cc824fbbd804 (diff)
touch "been-here-before" file even if user didn't modify any of teh default configuration
Diffstat (limited to 'gtk2_ardour/startup.cc')
-rw-r--r--gtk2_ardour/startup.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc
index 208364447c..a0ae965f07 100644
--- a/gtk2_ardour/startup.cc
+++ b/gtk2_ardour/startup.cc
@@ -684,12 +684,18 @@ ArdourStartup::on_apply ()
Config->set_use_monitor_bus (use_monitor_section_button.get_active());
- /* "touch" the been-here-before path now that we're about to save Config */
- ofstream fout (been_here_before_path().c_str());
-
Config->save_state ();
+
}
+ {
+ /* "touch" the been-here-before path now we've successfully
+ made it through the first time setup (at least)
+ */
+ ofstream fout (been_here_before_path().c_str());
+
+ }
+
_response = RESPONSE_OK;
gtk_main_quit ();
}