Skip to content

Commit

Permalink
Fix segfault when adding more tabs to Database editor
Browse files Browse the repository at this point in the history
Removed a slot decoration from method which, for unknown reason, seems
to fix two segfaults:

- Segfault when adding new tabs to the editor using the '+' button
- Segfault when switching between tabbed Object/Relationship
  parameter value and default value docs in a freshly created tab

Re #2262
  • Loading branch information
soininen committed Aug 18, 2023
1 parent 20c8ce0 commit 21372a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spinetoolbox/spine_db_editor/widgets/spine_db_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ def _restart_timer_refresh_tab_order(self, _visible=False):
self._timer_refresh_tab_order.timeout.connect(self._refresh_tab_order, Qt.UniqueConnection)
self._timer_refresh_tab_order.start(100)

@Slot()
def _refresh_tab_order(self):
if self._torn_down:
return
Expand Down

0 comments on commit 21372a6

Please sign in to comment.