Add the option to expand ~ to user home directory in export and project path
This commit is contained in:
@@ -358,6 +358,8 @@ class NWProject():
|
||||
if projPath is None or projPath == "":
|
||||
self.projPath = None
|
||||
else:
|
||||
if projPath.startswith("~"):
|
||||
projPath = path.expanduser(projPath)
|
||||
self.projPath = projPath
|
||||
self.setProjectChanged(True)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user