diff -r d537cba05d38 -r ac49f16d2a9b src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py --- a/src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py Thu Apr 06 09:32:12 2023 +0200 +++ b/src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py Tue Apr 11 11:34:52 2023 +0200 @@ -619,7 +619,7 @@ @param newName new name to be shown @type str """ - if newName: + if newName and editor in self.editors: currentRow = self.viewlist.currentRow() index = self.editors.index(editor) txt = os.path.basename(newName)