mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Main window position and size saving fixed in Windows.
Dock and top bar hiding after photo view fixed in OS X. Some design improvements. Alpha version 0.9.55.
This commit is contained in:
@@ -507,9 +507,9 @@ bool FieldAutocomplete::eventFilter(QObject *obj, QEvent *e) {
|
||||
return _inner->chooseSelected(ChooseMethod::ByEnter);
|
||||
}
|
||||
}
|
||||
if (moderate && ev->key() >= Qt::Key_1 && ev->key() <= Qt::Key_9) {
|
||||
if (moderate && (ev->key() >= Qt::Key_1 && ev->key() <= Qt::Key_9 || ev->key() == Qt::Key_Q)) {
|
||||
bool handled = false;
|
||||
emit moderateKeyActivate(ev->key() - Qt::Key_1, &handled);
|
||||
emit moderateKeyActivate(ev->key(), &handled);
|
||||
return handled;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user