Fix applying langpacks from file.

This commit is contained in:
John Preston 2018-12-25 15:22:01 +04:00
parent 9c579e0d5b
commit 95208267de

View file

@ -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();