371 { |
371 { |
372 descr = format ("ERROR: %1", obj->asText()); |
372 descr = format ("ERROR: %1", obj->asText()); |
373 break; |
373 break; |
374 } |
374 } |
375 |
375 |
376 case OBJ_Vertex: |
|
377 { |
|
378 descr = obj.staticCast<LDVertex>()->pos.toString (true); |
|
379 break; |
|
380 } |
|
381 |
|
382 case OBJ_Subfile: |
376 case OBJ_Subfile: |
383 { |
377 { |
384 LDSubfilePtr ref = obj.staticCast<LDSubfile>(); |
378 LDSubfilePtr ref = obj.staticCast<LDSubfile>(); |
385 |
379 |
386 descr = format ("%1 %2, (", ref->fileInfo()->getDisplayName(), ref->position().toString (true)); |
380 descr = format ("%1 %2, (", ref->fileInfo()->getDisplayName(), ref->position().toString (true)); |