We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93a0cca commit 1377e5dCopy full SHA for 1377e5d
src/rpc/servers.cpp
@@ -207,7 +207,7 @@ namespace tremotesf {
207
QString Servers::fromRemoteToLocalDirectory(const QString& remotePath, PathOs pathOs) {
208
for (const auto& [localDirectory, remoteDirectory] : mCurrentServerMountedDirectories) {
209
const auto remoteDirectoryNormalized = normalizePath(remoteDirectory, pathOs);
210
- if (isPathUnderThisDirectory(remoteDirectory, remoteDirectoryNormalized)) {
+ if (isPathUnderThisDirectory(remotePath, remoteDirectoryNormalized)) {
211
return localDirectory + remotePath.mid(remoteDirectoryNormalized.size());
212
}
213
0 commit comments