mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix applying langpacks from file.
This commit is contained in:
parent
9c579e0d5b
commit
95208267de
1 changed files with 3 additions and 0 deletions
|
@ -434,6 +434,9 @@ void CloudManager::requestLanguageAndSwitch(
|
|||
if (LanguageIdOrDefault(_langpack.id()) == id) {
|
||||
Ui::show(Box<InformBox>(lang(lng_language_already)));
|
||||
return;
|
||||
} else if (id == qstr("#custom")) {
|
||||
performSwitchToCustom();
|
||||
return;
|
||||
}
|
||||
|
||||
request(_switchingToLanguageRequest).cancel();
|
||||
|
|
Loading…
Add table
Reference in a new issue