--- a/eric7/UI/UserInterface.py Thu Jun 02 11:19:50 2022 +0200 +++ b/eric7/UI/UserInterface.py Fri Jun 03 12:09:02 2022 +0200 @@ -605,7 +605,7 @@ self.toolProcs = [] self.__initExternalToolsActions() - # redirect handling of http and https URLs to ourselves + # redirect handling of http, https and file URLs to ourselves QDesktopServices.setUrlHandler("file", self.handleUrl) QDesktopServices.setUrlHandler("http", self.handleUrl) QDesktopServices.setUrlHandler("https", self.handleUrl) @@ -7536,6 +7536,10 @@ if not self.viewmanager.closeViewManager(): return False + QDesktopServices.unsetUrlHandler("file") + QDesktopServices.unsetUrlHandler("http") + QDesktopServices.unsetUrlHandler("https") + if sessionCreated and not self.__disableCrashSession: self.__deleteCrashSession()