diff -r 89b36a39fe69 -r 2057b1b198a5 src/eric7/UI/UserInterface.py --- a/src/eric7/UI/UserInterface.py Sat Oct 05 10:28:34 2024 +0200 +++ b/src/eric7/UI/UserInterface.py Sat Oct 05 11:35:07 2024 +0200 @@ -577,7 +577,9 @@ self.shell.remoteConnectionChanged ) - self.__ericServerInterface.aboutToDisconnect.connect(self.project.closeProject) + self.__ericServerInterface.aboutToDisconnect.connect( + self.project.remoteConnectionAboutToDisconnect + ) self.__ericServerInterface.aboutToDisconnect.connect( self.viewmanager.closeRemoteEditors )