aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt b/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
index 6d0b0bfa..9d2ee1db 100644
--- a/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/i18n/I18n.kt
@@ -48,7 +48,7 @@ object I18n {
var language = defaultLanguage
set(value) {
field = value
- Root.roots.forEach { it.reRender() }
+ Root.roots.forEach { it.restart() }
}
private val cache = mutableMapOf<String, Jed>()