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