taskview: fix bug that inserted taskviewitem widgets in the wrong order

This commit is contained in:
itsmattkc
2020-02-19 16:44:44 +11:00
parent 77de011509
commit 5166f6a54a
+1 -1
View File
@@ -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));
}