mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05: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();
|
||||
if (title) {
|
||||
_title.create(this, std::move(title), st::boxTitle);
|
||||
_title->show();
|
||||
updateTitlePosition();
|
||||
} else {
|
||||
_title.destroy();
|
||||
|
|
Loading…
Add table
Reference in a new issue