Commit 59c8fa62 authored by Marcel Campen's avatar Marcel Campen

Added object name in context menu header



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20042 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a9d0640b
......@@ -505,7 +505,7 @@ void CoreWidget::updatePopupMenuBackground(QMenu* _menu , const QPoint& /*_point
*/
void CoreWidget::updatePopupMenuObject(QMenu* _menu , BaseObjectData* _object ) {
QAction* typeEntry = new QAction( typeName(_object->dataType()) ,_menu);
QAction* typeEntry = new QAction( typeName(_object->dataType())+QString(": ")+_object->name() ,_menu);
typeEntry->setIcon(typeIcon(_object->dataType()));
_menu->addAction( typeEntry );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment