Skip to content

Commit 4b85c01

Browse files
authored
Merge pull request #2660 from okrc/patch-1
Avoid blocking the Explorer when dragging
2 parents d8bfbbe + 5326d24 commit 4b85c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SandboxiePlus/SandMan/SandMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,7 @@ void CSandMan::dropEvent(QDropEvent* e)
13661366
Commands.append(url.toLocalFile().replace("/", "\\"));
13671367
}
13681368

1369-
RunSandboxed(Commands);
1369+
QTimer::singleShot(0, this, [Commands, this]() { RunSandboxed(Commands); });
13701370
}
13711371

13721372
void CSandMan::timerEvent(QTimerEvent* pEvent)

0 commit comments

Comments
 (0)