From 5166f6a54ad16552e6337a809b057295ab5d1b9e Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Wed, 19 Feb 2020 16:44:44 +1100 Subject: [PATCH] taskview: fix bug that inserted taskviewitem widgets in the wrong order --- app/widget/taskview/taskview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/widget/taskview/taskview.cpp b/app/widget/taskview/taskview.cpp index 499c6cc4f..37e147bd1 100644 --- a/app/widget/taskview/taskview.cpp +++ b/app/widget/taskview/taskview.cpp @@ -44,5 +44,5 @@ TaskView::TaskView(QWidget* parent) : void TaskView::AddTask(Task *t) { // Create TaskViewItem (UI representation of a Task) and connect it - layout_->insertWidget(0, new TaskViewItem(t)); + layout_->addWidget(new TaskViewItem(t)); }