Append backwards events after the spacer

This commit is contained in:
Konstantinos Sideris 2017-07-30 14:02:15 +03:00
parent 622fc3f9c3
commit c6c024ccbf

View file

@ -327,7 +327,7 @@ void TimelineView::addTimelineItem(TimelineItem *item, TimelineDirection directi
if (direction == TimelineDirection::Bottom) if (direction == TimelineDirection::Bottom)
scroll_layout_->addWidget(item); scroll_layout_->addWidget(item);
else else
scroll_layout_->insertWidget(0, item); scroll_layout_->insertWidget(1, item);
} }
void TimelineView::updatePendingMessage(int txn_id, QString event_id) void TimelineView::updatePendingMessage(int txn_id, QString event_id)