summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMac/Tools/IDE/PackageManager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PackageManager.py b/Mac/Tools/IDE/PackageManager.py
index 0041a17..76a184f 100755
--- a/Mac/Tools/IDE/PackageManager.py
+++ b/Mac/Tools/IDE/PackageManager.py
@@ -181,6 +181,8 @@ class PackageManagerMain(Wapplication.Application):
filename = EasyDialogs.AskFileForOpen(typeList=("TEXT",))
if filename:
filename = urllib.pathname2url(filename)
+ if filename[:5] != 'file:':
+ filename = 'file:' + filename
self.opendoc(filename)
def domenu_openURL(self, *args):