mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-01 23:00:58 +00:00
parent
d5497c3105
commit
022fb0c81b
@ -328,6 +328,7 @@ void AbstractBox::setTitle(rpl::producer<TextWithEntities> title) {
|
||||
const auto wasTitle = hasTitle();
|
||||
if (title) {
|
||||
_title.create(this, std::move(title), st::boxTitle);
|
||||
_title->show();
|
||||
updateTitlePosition();
|
||||
} else {
|
||||
_title.destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user