mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 21:56:45 +00:00 
			
		
		
		
	added instance tooltips
This commit is contained in:
		
							parent
							
								
									01f4b8a182
								
							
						
					
					
						commit
						8b01f1f6fb
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		|  | @ -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…
	
		Reference in a new issue