Skip to content

Commit 7d510c7

Browse files
committed
solutions view: show the comment as tooltip
Makes much more sense than the internal id.
1 parent 853e732 commit 7d510c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

visualization/motion_planning_tasks/src/remote_task_model.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,11 @@ QVariant RemoteSolutionModel::data(const QModelIndex& index, int role) const {
509509

510510
switch (role) {
511511
case Qt::UserRole:
512-
case Qt::ToolTipRole:
513512
return item.id;
514513

514+
case Qt::ToolTipRole:
515+
return item.comment;
516+
515517
case Qt::DisplayRole:
516518
switch (index.column()) {
517519
case 0:

0 commit comments

Comments
 (0)