Register timeline item so that it will be available
This commit is contained in:
parent
9231a86560
commit
86aa409c1f
@ -128,10 +128,8 @@ private:
|
|||||||
void pushTimelineItem(TimelineItem *item)
|
void pushTimelineItem(TimelineItem *item)
|
||||||
{
|
{
|
||||||
item->hide();
|
item->hide();
|
||||||
QTimer::singleShot(0, this, [=]() {
|
|
||||||
scroll_layout_->addWidget(item);
|
scroll_layout_->addWidget(item);
|
||||||
item->show();
|
QTimer::singleShot(0, this, [=]() { item->show(); });
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//! Decides whether or not to show or hide the scroll down button.
|
//! Decides whether or not to show or hide the scroll down button.
|
||||||
|
Loading…
Reference in New Issue
Block a user