issue #0002031: show object name when hovering tree view
This commit is contained in:
parent
36b7e0338b
commit
60ae927fcb
|
@ -1524,7 +1524,10 @@ void DocumentObjectItem::displayStatusInfo()
|
||||||
QString info = QString::fromLatin1(Obj->getStatusString());
|
QString info = QString::fromLatin1(Obj->getStatusString());
|
||||||
if ( Obj->mustExecute() == 1 )
|
if ( Obj->mustExecute() == 1 )
|
||||||
info += QString::fromLatin1(" (but must be executed)");
|
info += QString::fromLatin1(" (but must be executed)");
|
||||||
getMainWindow()->showMessage( info );
|
QString status = TreeWidget::tr("%1, Internal name: %2")
|
||||||
|
.arg(info)
|
||||||
|
.arg(QString::fromLatin1(Obj->getNameInDocument()));
|
||||||
|
getMainWindow()->showMessage(status);
|
||||||
|
|
||||||
if (Obj->isError()) {
|
if (Obj->isError()) {
|
||||||
QTreeWidget* tree = this->treeWidget();
|
QTreeWidget* tree = this->treeWidget();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user