2
0
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:
John Preston
2014-07-18 14:37:34 +04:00
parent dd4b0f033c
commit 070ea58a53
52 changed files with 561 additions and 209 deletions

View File

@@ -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) {