fix opening of explorer folders on windows

This commit is contained in:
Damien Elmes 2016-12-17 13:23:05 +10:00
parent b56ca60d2f
commit 9c04ac6a8e

View File

@ -345,7 +345,7 @@ def getBase(col):
def openFolder(path):
if isWin:
subprocess.Popen(["explorer", path])
subprocess.Popen(["explorer", "file://"+path])
else:
oldlpath = os.environ.pop("LD_LIBRARY_PATH", None)
QDesktopServices.openUrl(QUrl("file://" + path))