diff --git a/SandboxiePlus/SandMan/SandMan.cpp b/SandboxiePlus/SandMan/SandMan.cpp index a2a75e1a..32429205 100644 --- a/SandboxiePlus/SandMan/SandMan.cpp +++ b/SandboxiePlus/SandMan/SandMan.cpp @@ -1366,7 +1366,7 @@ void CSandMan::dropEvent(QDropEvent* e) Commands.append(url.toLocalFile().replace("/", "\\")); } - RunSandboxed(Commands); + QTimer::singleShot(0, this, [Commands, this]() { RunSandboxed(Commands); }); } void CSandMan::timerEvent(QTimerEvent* pEvent)