fix opening of explorer folders on windows
This commit is contained in:
parent
b56ca60d2f
commit
9c04ac6a8e
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user