Sat, 31 Aug 2024 15:45:39 +0200
Fixed an issue in the editor related to opening a MicroPython device file.
src/eric7/QScintilla/Editor.py | file | annotate | diff | comparison | revisions |
--- a/src/eric7/QScintilla/Editor.py Sat Aug 31 11:26:54 2024 +0200 +++ b/src/eric7/QScintilla/Editor.py Sat Aug 31 15:45:39 2024 +0200 @@ -467,6 +467,10 @@ ] // 1024 ) + elif FileSystemUtilities.isDeviceFileName(self.fileName): + fileIsRemote = False + fileExists = False + fileSizeKB = 0 else: fileIsRemote = False fileExists = pathlib.Path(self.fileName).exists()