Skip to content

Commit

Permalink
Editor: Show 'Editor' as title when tabbed
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed May 1, 2024
1 parent 2b2024a commit 707676a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spyder/plugins/editor/widgets/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,7 @@ def __init__(self, name, plugin, parent, ignore_last_opened_files=False):
# ---- PluginMainWidget API
# ------------------------------------------------------------------------
def get_title(self):
title = _('Editor')
if self.get_current_filename():
title = self.get_current_filename()
return title
return _('Editor')

def get_focus_widget(self):
"""
Expand Down

0 comments on commit 707676a

Please sign in to comment.