mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
parent
d5497c3105
commit
022fb0c81b
1 changed files with 1 additions and 0 deletions
|
@ -328,6 +328,7 @@ void AbstractBox::setTitle(rpl::producer<TextWithEntities> title) {
|
||||||
const auto wasTitle = hasTitle();
|
const auto wasTitle = hasTitle();
|
||||||
if (title) {
|
if (title) {
|
||||||
_title.create(this, std::move(title), st::boxTitle);
|
_title.create(this, std::move(title), st::boxTitle);
|
||||||
|
_title->show();
|
||||||
updateTitlePosition();
|
updateTitlePosition();
|
||||||
} else {
|
} else {
|
||||||
_title.destroy();
|
_title.destroy();
|
||||||
|
|
Loading…
Add table
Reference in a new issue