mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-04 18:55:44 +00:00
SettingsEntriesModel: qml warnings fixed
This commit is contained in:
parent
1c255175ab
commit
f5f84595d5
@ -139,6 +139,9 @@ SortFilterProxyModel {
|
||||
|
||||
// Update model after retranslation
|
||||
onEntriesChanged: {
|
||||
if (baseModel.count === 0)
|
||||
return
|
||||
|
||||
entries.forEach((elem, index) => {
|
||||
baseModel.setProperty(index, "text", elem.text)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user