2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 23:15:59 +00:00

langs improved for future translations, win version only for now

This commit is contained in:
John Preston
2014-12-18 21:40:49 +03:00
parent dec5db074c
commit d34ab1e1fe
33 changed files with 1374 additions and 927 deletions

View File

@@ -993,8 +993,8 @@ void OverviewInner::mouseReleaseEvent(QMouseEvent *e) {
}
void OverviewInner::keyPressEvent(QKeyEvent *e) {
if (e->key() == Qt::Key_Escape) {
if (_selected.isEmpty()) {
if (e->key() == Qt::Key_Escape || e->key() == Qt::Key_Back) {
if (_selected.isEmpty() || e->key() == Qt::Key_Back) {
App::main()->showBackFromStack();
} else {
_overview->onClearSelected();