mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-09 11:11:21 +00:00
parent
d5497c3105
commit
022fb0c81b
@ -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…
Reference in New Issue
Block a user