Register timeline item so that it will be available
This commit is contained in:
parent
9231a86560
commit
86aa409c1f
1 changed files with 2 additions and 4 deletions
|
|
@ -128,10 +128,8 @@ private:
|
|||
void pushTimelineItem(TimelineItem *item)
|
||||
{
|
||||
item->hide();
|
||||
QTimer::singleShot(0, this, [=]() {
|
||||
scroll_layout_->addWidget(item);
|
||||
item->show();
|
||||
});
|
||||
scroll_layout_->addWidget(item);
|
||||
QTimer::singleShot(0, this, [=]() { item->show(); });
|
||||
};
|
||||
|
||||
//! Decides whether or not to show or hide the scroll down button.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue