My Leonardo listed as Yun board

After trying to upload a sketch to my Leonardo board I now have this problem. Under ports in the Arduino IDE my board is listed as a Arduino Yun and no upload is possible since 'Leonardo is not found on the port'
Same thing in the device manager where the info says I have a Arduino Yun on the port. I have tried restarting computer and disconnect and reconnect the leonardo board and nothing helps.

You have probably selected the Yun from the board menu and the leonard from the port menu.
Because of the way the onboard 32u4 MCU works, you can change name of the board.

Select leonardo from the port menu and upload a blink. That will fix your issue

No this is not the case checked that very early.

Does anybody have any clue ?