mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Focus gift message field.
This commit is contained in:
parent
0282786b4c
commit
ede771e51b
1 changed files with 4 additions and 0 deletions
|
@ -914,6 +914,10 @@ void SendGiftBox(
|
|||
state->details = std::move(now);
|
||||
}, text->lifetime());
|
||||
|
||||
box->setFocusCallback([=] {
|
||||
text->setFocusFast();
|
||||
});
|
||||
|
||||
const auto allow = [=](not_null<DocumentData*> emoji) {
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue