summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-13 23:05:29 +0000
committerDavid Robillard <d@drobilla.net>2015-03-13 23:05:29 +0000
commit44d647336e2f36ac6e2b1390b342b1fbe5695106 (patch)
treeee12fa122f32267f09bf8024453754339d8c9a10 /src
parentce2db42fb605322bc9758e9c19d802261be63ad1 (diff)
downloadingen-44d647336e2f36ac6e2b1390b342b1fbe5695106.tar.gz
ingen-44d647336e2f36ac6e2b1390b342b1fbe5695106.tar.bz2
ingen-44d647336e2f36ac6e2b1390b342b1fbe5695106.zip
Fix crash on save in separate GUI process.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5628 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/gui/App.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index b0f6f28b..1bb9ba4d 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -154,6 +154,9 @@ App::attach(SPtr<SigClientInterface> client)
_client = client;
_store = SPtr<ClientStore>(new ClientStore(_world->uris(), _world->log(), client));
_loader = SPtr<ThreadedLoader>(new ThreadedLoader(*this, _world->interface()));
+ if (!_world->store()) {
+ _world->set_store(_store);
+ }
_graph_tree_window->init(*this, *_store);