eric6/UI/UserInterface.py

changeset 8116
ef415e4efd70
parent 8077
1fd8f611f26a
child 8129
52c76e6cb35b
--- a/eric6/UI/UserInterface.py	Thu Feb 18 19:57:41 2021 +0100
+++ b/eric6/UI/UserInterface.py	Fri Feb 19 17:34:33 2021 +0100
@@ -5995,6 +5995,9 @@
                 elif res == 0:
                     # successful
                     break
+                elif res == -1:
+                    # web browser did not start
+                    continue
             else:
                 return False
             
@@ -6004,7 +6007,7 @@
         else:
             clientArgs.append("--newtab={0}".format(home))
         
-        if clientArgs:
+        if clientArgs and self.__webBrowserClient:
             self.__webBrowserClient.processArgs(clientArgs, disconnect=False)
         
         return True

eric ide

mercurial