Skip to content

Commit 4bee034

Browse files
authored
Fixup: forward dataChanged() to QTreeView (moveit#186)
1 parent 8cb57d6 commit 4bee034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

visualization/motion_planning_tasks/src/task_list_model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,11 @@ void TaskListView::setModel(QAbstractItemModel* model) {
371371
}
372372
}
373373

374-
void TaskListView::dataChanged(const QModelIndex& /*topLeft*/, const QModelIndex& bottomRight,
375-
const QVector<int>& /*roles*/) {
374+
void TaskListView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QVector<int>& roles) {
376375
if (bottomRight.column() > 0) {
377376
updateColumnWidth();
378377
}
378+
QTreeView::dataChanged(topLeft, bottomRight, roles);
379379
}
380380

381381
void TaskListView::updateColumnWidth() {

0 commit comments

Comments
 (0)