2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Languages updated for the new 0.9.56 stable version.

This commit is contained in:
John Preston
2016-06-26 17:27:02 +03:00
parent 4bd97d2947
commit f123755fc6
7 changed files with 51 additions and 21 deletions

View File

@@ -507,7 +507,7 @@ bool FieldAutocomplete::eventFilter(QObject *obj, QEvent *e) {
return _inner->chooseSelected(ChooseMethod::ByEnter);
}
}
if (moderate && (ev->key() >= Qt::Key_1 && ev->key() <= Qt::Key_9 || ev->key() == Qt::Key_Q)) {
if (moderate && ((ev->key() >= Qt::Key_1 && ev->key() <= Qt::Key_9) || ev->key() == Qt::Key_Q)) {
bool handled = false;
emit moderateKeyActivate(ev->key(), &handled);
return handled;