Skip to content

Commit

Permalink
Merge pull request #555 from UIUCLibrary/dev
Browse files Browse the repository at this point in the history
TabEditor's model sets tabEditor as parent
  • Loading branch information
henryborchers authored Dec 2, 2024
2 parents 0fd6122 + ea38d2f commit dbf5ac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions speedwagon/frontend/qtwidgets/dialog/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit dbf5ac2

Please sign in to comment.