Sun, 09 Apr 2017 16:15:08 +0200
Fixed an issue in the view manager base class disconnecting some signal upon shutdown.
ViewManager/ViewManager.py | file | annotate | diff | comparison | revisions |
--- a/ViewManager/ViewManager.py Fri Apr 07 18:45:42 2017 +0200 +++ b/ViewManager/ViewManager.py Sun Apr 09 16:15:08 2017 +0200 @@ -6295,7 +6295,10 @@ @return flag indicating success (boolean) """ - e5App().focusChanged.disconnect(self.appFocusChanged) + try: + e5App().focusChanged.disconnect(self.appFocusChanged) + except TypeError: + pass self.closeAllWindows()