Fixed a non-functioning action.

Fri, 21 May 2010 20:35:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 21 May 2010 20:35:23 +0200
changeset 266
2987579ab76e
parent 265
5805c2e1415b
child 267
f4cd9c07da76

Fixed a non-functioning action.

UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/UI/UserInterface.py	Fri May 21 08:46:21 2010 +0200
+++ b/UI/UserInterface.py	Fri May 21 20:35:23 2010 +0200
@@ -4051,17 +4051,13 @@
         """
         self.__assistant(version = 4)
     
-    def __startWebBrowser(self, home = None):
-        """
-        Private slot to start a web browser executable.
+    def __startWebBrowser(self, home = ""):
+        """
+        Private slot to start the eric5 web browser.
         
         @param home full pathname of a file to display (string)
         """
-        started = QDesktopServices.openUrl(QUrl(home))
-        if not started:
-            QMessageBox.critical(self,
-                self.trUtf8('Open Browser'),
-                self.trUtf8('Could not start a web browser'))
+        self.launchHelpViewer(home)
         
     def __customViewer(self, home = None):
         """

eric ide

mercurial