2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Prefix client-side lang_code-s with #.

This commit is contained in:
John Preston
2018-10-26 13:08:21 +04:00
parent 711b8cfa36
commit 3447aac940
6 changed files with 21 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ void SetupLanguageButton(
button->addClickHandler([=] {
const auto m = button->clickModifiers();
if ((m & Qt::ShiftModifier) && (m & Qt::AltModifier)) {
Lang::CurrentCloudManager().switchToLanguage(qsl("custom"));
Lang::CurrentCloudManager().switchToLanguage(qsl("#custom"));
} else {
*guard = LanguageBox::Show();
}