| 360 | //----------------------------------------------------------------------------- |
| 361 | |
| 362 | StringTableEntry GuiTreeViewCtrl::Item::getText() |
| 363 | { |
| 364 | if(mState.test(InspectorData)) |
| 365 | { |
| 366 | Con::errorf("Tried to get the text for item %d, which is InspectorData!", mId); |
| 367 | return NULL; |
| 368 | } |
| 369 | |
| 370 | return ( mScriptInfo.mText ) ? mScriptInfo.mText : StringTable->EmptyString(); |
| 371 | } |
| 372 | |
| 373 | //----------------------------------------------------------------------------- |
| 374 |
no test coverage detected