From 2e6331284a3ff8363cf11ceacbb87f478725768b Mon Sep 17 00:00:00 2001 From: Geoffrey Broadwell Date: Tue, 9 Apr 2024 14:12:50 -0700 Subject: [PATCH] Make sure Locale change creates a new ContentRenderer too --- lib/MUGS/App/TUI.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MUGS/App/TUI.rakumod b/lib/MUGS/App/TUI.rakumod index caa610d..1684711 100644 --- a/lib/MUGS/App/TUI.rakumod +++ b/lib/MUGS/App/TUI.rakumod @@ -241,7 +241,7 @@ sub main-menu(Bool :$safe, UInt :$debug, *%ui-options) { # XXXX: Check loader? my %trans := %lang-info(); my $terminal = $app-ui.terminal; - $terminal.set-locale($terminal.locale.clone(string-table => %trans)); + $terminal.set-locale($terminal.locale.new(string-table => %trans)); $t-load-trans = now; }