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