mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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);
|
state->details = std::move(now);
|
||||||
}, text->lifetime());
|
}, text->lifetime());
|
||||||
|
|
||||||
|
box->setFocusCallback([=] {
|
||||||
|
text->setFocusFast();
|
||||||
|
});
|
||||||
|
|
||||||
const auto allow = [=](not_null<DocumentData*> emoji) {
|
const auto allow = [=](not_null<DocumentData*> emoji) {
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue