UI/UserInterface.py

changeset 22
74b42c452d1e
parent 20
74944df40dfb
child 42
23b45a742e17
--- a/UI/UserInterface.py	Wed Jan 06 18:14:15 2010 +0000
+++ b/UI/UserInterface.py	Wed Jan 06 18:28:44 2010 +0000
@@ -4414,9 +4414,6 @@
                             break
                 else:
                     home = pyqt4DocDir
-                
-                if home:
-                    home = "file://" + home
             
             if not home or not os.path.exists(home):
                 QMessageBox.warning(None,
@@ -4425,6 +4422,8 @@
                                 """ "<b>{0}</b>" could not be found.</p>""")\
                         .format(home))
                 return
+            
+            home = "file://" + home
         else:
             home = pyqt4DocDir
         
@@ -4455,7 +4454,7 @@
                         .format(home))
                 return
         
-##        home = "file://" + home
+        home = "file://" + home
         
         hvType = Preferences.getHelp("HelpViewerType")
         if hvType == 1:

eric ide

mercurial