diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-07-30 14:02:15 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-07-30 14:02:15 +0300 |
commit | c6c024ccbf144a8d5908c073a8eac5536d50e61c (patch) | |
tree | 02afea56eb8f7664d3bdc6c1e114aab09fc70eb9 | |
parent | Save and restore app's window size (diff) | |
download | nheko-c6c024ccbf144a8d5908c073a8eac5536d50e61c.tar.xz |
Append backwards events after the spacer
-rw-r--r-- | src/TimelineView.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TimelineView.cc b/src/TimelineView.cc index 418545a6..3f7c877e 100644 --- a/src/TimelineView.cc +++ b/src/TimelineView.cc @@ -327,7 +327,7 @@ void TimelineView::addTimelineItem(TimelineItem *item, TimelineDirection directi if (direction == TimelineDirection::Bottom) scroll_layout_->addWidget(item); else - scroll_layout_->insertWidget(0, item); + scroll_layout_->insertWidget(1, item); } void TimelineView::updatePendingMessage(int txn_id, QString event_id) |