Fixed an issue shutting down the Web Browser window.

Sun, 11 Feb 2018 16:03:53 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 11 Feb 2018 16:03:53 +0100
changeset 6132
0b5bf5d0c317
parent 6131
1ecd0c53e117
child 6133
eba07240fac1

Fixed an issue shutting down the Web Browser window.

WebBrowser/WebBrowserWindow.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/WebBrowserWindow.py	Sun Feb 11 16:03:15 2018 +0100
+++ b/WebBrowser/WebBrowserWindow.py	Sun Feb 11 16:03:53 2018 +0100
@@ -2895,7 +2895,7 @@
         if not self.__fromEric:
             Preferences.syncPreferences()
             if not WebBrowserWindow._performingShutdown and \
-                    len(WebBrowserWindow.BrowserWindows) == 1:
+                    len(WebBrowserWindow.BrowserWindows) == 0:
                 # shut down the browser in case the last window was
                 # simply closed
                 self.shutdown()

eric ide

mercurial