diff --git a/src/plugins/builder/tasks/taskmanager.cpp b/src/plugins/builder/tasks/taskmanager.cpp index 028100529..87bcf55c2 100644 --- a/src/plugins/builder/tasks/taskmanager.cpp +++ b/src/plugins/builder/tasks/taskmanager.cpp @@ -67,7 +67,8 @@ void TaskManager::triggerDefaultHandler(const QModelIndex &index) if (!index.isValid()) return; - Task task(model->task(index)); + auto realIndex = filterModel->mapToSource(index); + Task task(model->task(realIndex)); if (task.isNull()) return;