mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02: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) {
|
if (LanguageIdOrDefault(_langpack.id()) == id) {
|
||||||
Ui::show(Box<InformBox>(lang(lng_language_already)));
|
Ui::show(Box<InformBox>(lang(lng_language_already)));
|
||||||
return;
|
return;
|
||||||
|
} else if (id == qstr("#custom")) {
|
||||||
|
performSwitchToCustom();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
request(_switchingToLanguageRequest).cancel();
|
request(_switchingToLanguageRequest).cancel();
|
||||||
|
|
Loading…
Add table
Reference in a new issue