From 9f78edf533071c5c8d162506189c8fc26736121a Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 25 Feb 2021 06:22:22 +0100 Subject: [PATCH] Delayed launch of "new file" dialog --- plugins/editor/src/editor/Editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: