Skip to content

Commit

Permalink
fix: [builder] Double-clicking the error item did not open the file w…
Browse files Browse the repository at this point in the history
…here the error occurs.

Log: as title
  • Loading branch information
LiHua000 committed Nov 25, 2024
1 parent 5466892 commit ffee3e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/builder/tasks/taskmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ffee3e6

Please sign in to comment.