mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
fix(settings): defer ListModel population to prevent re-entrant incubation SIGSEGV
This commit is contained in:
@@ -145,7 +145,7 @@ NBox {
|
||||
}
|
||||
}
|
||||
|
||||
Component.onCompleted: updateAvailableWidgetsModel()
|
||||
Component.onCompleted: Qt.callLater(updateAvailableWidgetsModel)
|
||||
|
||||
ListModel {
|
||||
id: availableWidgetsModel
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user