summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PyDocSearch.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Tools/IDE/PyDocSearch.py')
-rw-r--r--Mac/Tools/IDE/PyDocSearch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Tools/IDE/PyDocSearch.py b/Mac/Tools/IDE/PyDocSearch.py
index 98eced9..61d3959 100644
--- a/Mac/Tools/IDE/PyDocSearch.py
+++ b/Mac/Tools/IDE/PyDocSearch.py
@@ -6,6 +6,7 @@ import MacPrefs
import MacOS
import string
import webbrowser
+import EasyDialogs
app = W.getapplication()
@@ -223,9 +224,8 @@ class PyDocSearch:
MacOS.SysBeep(0)
def setdocpath(self):
- fss, ok = macfs.GetDirectory()
- if ok:
- docpath = fss.as_pathname()
+ docpath = EasyDialogs.AskFolder()
+ if docpath:
if not verifydocpath(docpath):
W.Message("This does not seem to be a Python documentation folder...")
else: