From 44d647336e2f36ac6e2b1390b342b1fbe5695106 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 Mar 2015 23:05:29 +0000 Subject: Fix crash on save in separate GUI process. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5628 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/App.cpp') 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 client) _client = client; _store = SPtr(new ClientStore(_world->uris(), _world->log(), client)); _loader = SPtr(new ThreadedLoader(*this, _world->interface())); + if (!_world->store()) { + _world->set_store(_store); + } _graph_tree_window->init(*this, *_store); -- cgit v1.2.1