Now checks if path has trailing slash before adding a new one

This commit is contained in:
Boris Makogonyuk
2016-01-04 18:30:11 +01:00
parent 5abd4dcc66
commit 832119f6b1

View File

@@ -109,7 +109,7 @@ namespace Wox.Plugin.Folder
return false;
}
}
context.API.ChangeQuery(item.Path+"\\");
context.API.ChangeQuery(item.Path + (item.Path.EndsWith("\\")? "": "\\"));
return false;
},
ContextData = item