mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Improve custom language loading.
Apply custom language without relaunching the app.
This commit is contained in:
@@ -61,7 +61,7 @@ void fillCodes() {
|
||||
}));
|
||||
});
|
||||
Codes.insert(qsl("loadlang"), [] {
|
||||
Global::RefChooseCustomLang().notify();
|
||||
Lang::Current().chooseCustomFile();
|
||||
});
|
||||
Codes.insert(qsl("debugfiles"), [] {
|
||||
if (!cDebug()) return;
|
||||
|
Reference in New Issue
Block a user