Weird: serial doesn't work if inadvertently changing used programmer

With MiniCore if you have Tools > Bootloader > No selected then the Upload button does the same operation as Sketch > Upload Using Programmer. If you have Tools > Bootloader > Yes selected then the Upload button does the same operation as Sketch > Upload.