summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadGraphWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-22 03:17:28 +0000
committerDavid Robillard <d@drobilla.net>2012-11-22 03:17:28 +0000
commitb6376fc247490134827c51c554a6108ab9f5a898 (patch)
tree1274679011e2f3da2a87adb43a217fe26861ca7e /src/gui/LoadGraphWindow.cpp
parentb36e8ed06c9d1fbec67b8a3e3a207b3396e29a5a (diff)
downloadingen-b6376fc247490134827c51c554a6108ab9f5a898.tar.gz
ingen-b6376fc247490134827c51c554a6108ab9f5a898.tar.bz2
ingen-b6376fc247490134827c51c554a6108ab9f5a898.zip
Configuration file saving.
Automatically save and restore GUI settings (last patch directory, human names, etc.). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4848 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/LoadGraphWindow.cpp')
-rw-r--r--src/gui/LoadGraphWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/LoadGraphWindow.cpp b/src/gui/LoadGraphWindow.cpp
index 760463ea..a547c279 100644
--- a/src/gui/LoadGraphWindow.cpp
+++ b/src/gui/LoadGraphWindow.cpp
@@ -197,6 +197,10 @@ LoadGraphWindow::ok_clicked()
_graph.reset();
hide();
+
+ _app->world()->conf().set(
+ "graph-directory",
+ _app->world()->forge().alloc(get_current_folder()));
}
void