Looking at the old code shows that the download process was never
completely finished. The according function was only return'ed, but no
signal was emitted to the window to give the user the possibility to
close it again.
Optionally, it would be useful here to pass messages to the window
dialog to inform the user about problems.
However, this code is untested because:
1. I don't know where put my printers *.hex-file, when coding here with
my editor,
2. Have no idea how to reproduce the IO errors reported at JIRA, so
fingers crossed here.
Contributes to CURA-2079
This updates the firmware updater to use the new MachineManagerModel
Additionally renamed "machine_type" to "machine_id", which makes it more
selfexplaining, when reading the code.
My printers firmware is not available here and has no heated bed, so
please test this commit!