summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-30 14:02:15 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-07-30 14:02:15 +0300
commitc6c024ccbf144a8d5908c073a8eac5536d50e61c (patch)
tree02afea56eb8f7664d3bdc6c1e114aab09fc70eb9
parentSave and restore app's window size (diff)
downloadnheko-c6c024ccbf144a8d5908c073a8eac5536d50e61c.tar.xz
Append backwards events after the spacer
-rw-r--r--src/TimelineView.cc2
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)