From f78da07d26deb29a6a4bf5c06ab1423d1bc70e47 Mon Sep 17 00:00:00 2001 From: "Lumberbot (aka Jack)" <39504233+meeseeksmachine@users.noreply.github.com> Date: Thu, 2 Jan 2025 08:22:56 -0800 Subject: [PATCH] Backport PR #23390 on branch 6.x (PR: Add missing `__init__()` calls in a couple of places) (#23393) --- spyder/widgets/findreplace.py | 1 + spyder/widgets/tabs.py | 1 + 2 files changed, 2 insertions(+) diff --git a/spyder/widgets/findreplace.py b/spyder/widgets/findreplace.py index a6f9dfc04e9..98ae2934014 100644 --- a/spyder/widgets/findreplace.py +++ b/spyder/widgets/findreplace.py @@ -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 diff --git a/spyder/widgets/tabs.py b/spyder/widgets/tabs.py index a7f32dfb8dc..4992f4a7578 100644 --- a/spyder/widgets/tabs.py +++ b/spyder/widgets/tabs.py @@ -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,