diff options
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r-- | src/gui/ThreadedLoader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index cd5e5ce6..10f1f8d6 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -137,11 +137,10 @@ void ThreadedLoader::save_patch_event(SharedPtr<PatchModel> model, const string& filename) { if (App::instance().serialiser()) { - Serialiser::Record r(model, filename); if (filename.find(INGEN_BUNDLE_EXT) != string::npos) - App::instance().serialiser()->write_bundle(r); + App::instance().serialiser()->write_bundle(model, filename); else - App::instance().serialiser()->to_file(r); + App::instance().serialiser()->to_file(model, filename); } } |