2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Allow open folders by 'folders' code.

This commit is contained in:
John Preston
2020-03-26 14:29:27 +04:00
parent bf5356fd91
commit 0c2d8f1b6e
3 changed files with 48 additions and 30 deletions

View File

@@ -342,7 +342,9 @@ Main::Main(
}
void Main::keyPressEvent(QKeyEvent *e) {
CodesFeedString(&_controller->session(), e->text());
crl::on_main(this, [=, text = e->text()]{
CodesFeedString(_controller, text);
});
return Section::keyPressEvent(e);
}