diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 05:31:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 05:49:13 -0400 |
commit | 8df90e13115348807fcea0c1d81bca1b2ec053a0 (patch) | |
tree | 05783ae66df9a738c51c171ff766fe29e26e985c /src/ingen | |
parent | a7f83c70733288ee9efee5c08330fbdf638446db (diff) | |
download | ingen-8df90e13115348807fcea0c1d81bca1b2ec053a0.tar.gz ingen-8df90e13115348807fcea0c1d81bca1b2ec053a0.tar.bz2 ingen-8df90e13115348807fcea0c1d81bca1b2ec053a0.zip |
Save global options to options.ttl
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/ingen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp index a6ba7f41..1e407507 100644 --- a/src/ingen/ingen.cpp +++ b/src/ingen/ingen.cpp @@ -233,6 +233,11 @@ main(int argc, char** argv) if (world->engine()) world->engine()->deactivate(); + // Save configuration to restore preferences on next run + const std::string path = conf.save( + world->uri_map(), "ingen", "options.ttl", Configuration::GLOBAL); + std::cout << (fmt("Saved configuration to %1%") % path) << std::endl; + engine_interface.reset(); delete world; |