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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user