713 { if (!getFile()) |
713 { if (!getFile()) |
714 { log ("Warning: Object #%1 cannot be selected as it is not assigned a file!\n", getID()); |
714 { log ("Warning: Object #%1 cannot be selected as it is not assigned a file!\n", getID()); |
715 return; |
715 return; |
716 } |
716 } |
717 |
717 |
718 dlog ("Selected #%1\n", getID()); |
|
719 getFile()->addToSelection (this); |
718 getFile()->addToSelection (this); |
720 } |
719 } |
721 |
720 |
722 // ============================================================================= |
721 // ============================================================================= |
723 // ----------------------------------------------------------------------------- |
722 // ----------------------------------------------------------------------------- |