mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
solutions view: show the comment as tooltip
Makes much more sense than the internal id.
This commit is contained in:
parent
853e7324e9
commit
7d510c79d3
@ -509,9 +509,11 @@ QVariant RemoteSolutionModel::data(const QModelIndex& index, int role) const {
|
||||
|
||||
switch (role) {
|
||||
case Qt::UserRole:
|
||||
case Qt::ToolTipRole:
|
||||
return item.id;
|
||||
|
||||
case Qt::ToolTipRole:
|
||||
return item.comment;
|
||||
|
||||
case Qt::DisplayRole:
|
||||
switch (index.column()) {
|
||||
case 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user