fix(settings): defer ListModel population to prevent re-entrant incubation SIGSEGV

This commit is contained in:
Lemmy
2026-03-10 09:14:35 -04:00
parent 835b12ed0f
commit 87c072e2cf
3 changed files with 3 additions and 3 deletions
@@ -145,7 +145,7 @@ NBox {
}
}
Component.onCompleted: updateAvailableWidgetsModel()
Component.onCompleted: Qt.callLater(updateAvailableWidgetsModel)
ListModel {
id: availableWidgetsModel
+1 -1
View File
@@ -154,7 +154,7 @@ ColumnLayout {
}
Component.onCompleted: {
updateAvailableWidgetsModel();
Qt.callLater(updateAvailableWidgetsModel);
}
Connections {
@@ -58,7 +58,7 @@ ColumnLayout {
_saveFromModel();
}
Component.onCompleted: _loadToModel()
Component.onCompleted: Qt.callLater(_loadToModel)
Connections {
target: Settings.data.idle