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…
Reference in New Issue