This commit is contained in:
Ly-sec
2025-09-26 16:23:08 +02:00
+7 -2
View File
@@ -86,9 +86,14 @@ Singleton {
}
}
// For translations, wait for i18n to be ready
translateModels()
}
// -------------------------------------------------
function translateModels() {
// Wait for i18n to be ready by retrying every time
if (!I18n.isLoaded) {
Qt.callLater(init)
Qt.callLater(translateModels)
return
}