This commit is contained in:
parent
66558acbba
commit
164bba3c64
|
@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
### Changed
|
||||
- validated compatibility with Windows build 27744 and updated DynData
|
||||
- when running via drag and drop now the apps parent folder is used as working dir [#4073](https://github.com/sandboxie-plus/Sandboxie/issues/4073)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1810,7 +1810,9 @@ void CSandMan::dropEvent(QDropEvent* e)
|
|||
if (Boxes.count() == 1)
|
||||
BoxName = Boxes.first()->GetName();
|
||||
|
||||
QTimer::singleShot(0, this, [Commands, BoxName, this]() { RunSandboxed(Commands, BoxName); });
|
||||
QString WrkDir = QFileInfo(Commands.first()).absoluteDir().path().replace("/","\\");
|
||||
|
||||
QTimer::singleShot(0, this, [Commands, BoxName, WrkDir, this]() { RunSandboxed(Commands, BoxName, WrkDir); });
|
||||
}
|
||||
|
||||
void CSandMan::timerEvent(QTimerEvent* pEvent)
|
||||
|
|
Loading…
Reference in New Issue