Skip to content

Commit

Permalink
FIX: Issue spyder-ide#17221
Browse files Browse the repository at this point in the history
Fixes the issue with the file name label not being updated when
the last tab is closed in the editor.
  • Loading branch information
Ajax-Light committed Feb 1, 2022
1 parent f4c8880 commit f6cb7a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spyder/plugins/editor/widgets/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1643,6 +1643,7 @@ def close_file(self, index=None, force=False):

if self.get_stack_count() == 0 and self.create_new_file_if_empty:
self.sig_new_file[()].emit()
self.update_fname_label()
return False
self.__modify_stack_title()
return is_ok
Expand Down

0 comments on commit f6cb7a8

Please sign in to comment.