diff --git a/plugins/editor/src/editor/Editor.cpp b/plugins/editor/src/editor/Editor.cpp index 9dad19ba..e8fb16c3 100644 --- a/plugins/editor/src/editor/Editor.cpp +++ b/plugins/editor/src/editor/Editor.cpp @@ -1460,7 +1460,7 @@ void Editor::Impl::valueChanged(CControl* ctl) if (value != 1) break; - createNewSfzFile(); + Call::later([this]() { createNewSfzFile(); }); break; case kTagOpenSfzFolder: