summaryrefslogtreecommitdiffstats
path: root/src/gui/LoadGraphWindow.cpp
diff options
context:
space:
mode:
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