summaryrefslogtreecommitdiff
path: root/ui/settingsview.h
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-03-27 15:35:11 -0400
committerJosh Ferrell <josh@vector35.com>2026-03-27 15:35:11 -0400
commita8136a2e13c283171ae5ccca7ce8b02a83e6cdb1 (patch)
tree386a521e60425fa2d082c7330cf275ec41dd32fe /ui/settingsview.h
parent4b9edd0e5a7d9c4083ead51199ddbc629dc4154f (diff)
Fix crash in settings view
Diffstat (limited to 'ui/settingsview.h')
-rw-r--r--ui/settingsview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/settingsview.h b/ui/settingsview.h
index c7c3ff23..b9f6ea72 100644
--- a/ui/settingsview.h
+++ b/ui/settingsview.h
@@ -265,7 +265,7 @@ class BINARYNINJAUIAPI SettingsDelegate : public QStyledItemDelegate
QTimer* m_updateModelTimer;
QTimer* m_resizeTimer;
QSize m_lastViewportSize;
- QModelIndex m_scrollAnchorIdx;
+ QPersistentModelIndex m_scrollAnchorIdx;
int m_scrollAnchorOffset = 0;
bool m_resizing = false;