mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
many small fixes: multi windows users running, touchscreen fix, esc for photo hide, etc + send to menu integration on windows + hide text in notifies
This commit is contained in:
@@ -446,8 +446,12 @@ void FlatTextarea::keyPressEvent(QKeyEvent *e) {
|
||||
emit submitted();
|
||||
} else if (e->key() == Qt::Key_Escape) {
|
||||
emit cancelled();
|
||||
} else if (e->key() == Qt::Key_Tab) {
|
||||
emit tabbed();
|
||||
} else if (e->key() == Qt::Key_Tab || ctrl && e->key() == Qt::Key_Backtab) {
|
||||
if (ctrl) {
|
||||
e->ignore();
|
||||
} else {
|
||||
emit tabbed();
|
||||
}
|
||||
} else {
|
||||
QTextCursor tc(textCursor());
|
||||
if (enter && ctrl) {
|
||||
|
Reference in New Issue
Block a user