Skip to content

Commit

Permalink
Backport PR #23390 on branch 6.x (PR: Add missing __init__() calls …
Browse files Browse the repository at this point in the history
…in a couple of places) (#23393)
  • Loading branch information
meeseeksmachine authored Jan 2, 2025
1 parent 0761e60 commit f78da07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spyder/widgets/findreplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class FindReplace(QWidget, SpyderShortcutsMixin):

def __init__(self, parent, enable_replace=False):
QWidget.__init__(self, parent)
SpyderShortcutsMixin.__init__(self)
self.enable_replace = enable_replace
self.editor = None
self.is_code_editor = None
Expand Down
1 change: 1 addition & 0 deletions spyder/widgets/tabs.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ def __init__(self, parent, actions=None, menu=None,
split_index=0):
BaseTabs.__init__(self, parent, actions, menu,
corner_widgets, menu_use_tooltips)
SpyderShortcutsMixin.__init__(self)
tab_bar = TabBar(self, parent,
rename_tabs=rename_tabs,
split_char=split_char,
Expand Down

0 comments on commit f78da07

Please sign in to comment.