Skip to content

Commit

Permalink
Merge pull request spyder-ide#22050 from dalthviz/fixes_issue_22049
Browse files Browse the repository at this point in the history
PR: Show `Editor` as title when the Editor is tabbed (Editor)
  • Loading branch information
ccordoba12 authored May 1, 2024
2 parents e9e5695 + 4258bc9 commit 3ce32d6
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 3ce32d6

Please sign in to comment.