835 |
835 |
836 // Draw the actual icons |
836 // Draw the actual icons |
837 for (CameraIcon& info : m_cameraIcons) |
837 for (CameraIcon& info : m_cameraIcons) |
838 { |
838 { |
839 // Don't draw the free camera icon when in draw mode |
839 // Don't draw the free camera icon when in draw mode |
840 if (&info == &m_cameraIcons[EFreeCamera] && editMode() != ESelectMode) |
840 if (&info == &m_cameraIcons[EFreeCamera] && not eq (editMode(), ESelectMode, EMagicWandMode)) |
841 continue; |
841 continue; |
842 |
842 |
843 paint.drawPixmap (info.destRect, *info.img, info.srcRect); |
843 paint.drawPixmap (info.destRect, *info.img, info.srcRect); |
844 } |
844 } |
845 |
845 |