Merge pull request #2660 from okrc/patch-1
Avoid blocking the Explorer when dragging
This commit is contained in:
commit
4b85c01ab6
|
@ -1366,7 +1366,7 @@ void CSandMan::dropEvent(QDropEvent* e)
|
||||||
Commands.append(url.toLocalFile().replace("/", "\\"));
|
Commands.append(url.toLocalFile().replace("/", "\\"));
|
||||||
}
|
}
|
||||||
|
|
||||||
RunSandboxed(Commands);
|
QTimer::singleShot(0, this, [Commands, this]() { RunSandboxed(Commands); });
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSandMan::timerEvent(QTimerEvent* pEvent)
|
void CSandMan::timerEvent(QTimerEvent* pEvent)
|
||||||
|
|
Loading…
Reference in New Issue