added instance tooltips

openmw-38
Marc Zinnschlag 9 years ago
parent 01f4b8a182
commit 8b01f1f6fb

@ -42,6 +42,11 @@ CSVRender::ObjectTag::ObjectTag (Object* object)
: TagBase (Element_Reference), mObject (object)
{}
QString CSVRender::ObjectTag::getToolTip (bool hideBasics) const
{
return QString::fromUtf8 (mObject->getReferenceableId().c_str());
}
void CSVRender::Object::clear()
{

@ -46,6 +46,8 @@ namespace CSVRender
ObjectTag (Object* object);
Object* mObject;
virtual QString getToolTip (bool hideBasics) const;
};

Loading…
Cancel
Save