From ea38d2f719ff2abbb89551ad17d0d855f4bf4ced Mon Sep 17 00:00:00 2001 From: Henry Borchers Date: Mon, 2 Dec 2024 15:28:35 -0600 Subject: [PATCH] TabEditor's model sets tabEditor as parent --- speedwagon/frontend/qtwidgets/dialog/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/speedwagon/frontend/qtwidgets/dialog/settings.py b/speedwagon/frontend/qtwidgets/dialog/settings.py index 052489c18..62479f0c6 100644 --- a/speedwagon/frontend/qtwidgets/dialog/settings.py +++ b/speedwagon/frontend/qtwidgets/dialog/settings.py @@ -770,6 +770,7 @@ def model(self, value: models.TabsTreeModel) -> None: self.changes_made ) self._tabs_model = value + self._tabs_model.setParent(self) self._tabs_model.dataChanged.connect(self.changes_made) # type: ignore self.selected_tab_combo_box.setModel(self._tabs_model)