Skip to content

Commit 0ea9c4c

Browse files
committed
fixup: forward dataChanged signal for solutions too
1 parent d031f1b commit 0ea9c4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

visualization/motion_planning_tasks/src/task_list_model.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,12 @@ void SolutionListView::setModel(QAbstractItemModel* model) {
391391
updateColumnWidth();
392392
}
393393

394-
void SolutionListView::dataChanged(const QModelIndex& /*topLeft*/, const QModelIndex& bottomRight,
395-
const QVector<int>& /*roles*/) {
394+
void SolutionListView::dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight,
395+
const QVector<int>& roles) {
396396
if (bottomRight.column() > 0) {
397397
updateColumnWidth();
398398
}
399+
QTreeView::dataChanged(topLeft, bottomRight, roles);
399400
}
400401

401402
void SolutionListView::resizeEvent(QResizeEvent* e) {

0 commit comments

Comments
 (0)