chiark / gitweb /
Fix an issue where the UI state wasn't being updated
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 22 May 2015 21:51:53 +0000 (17:51 -0400)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Fri, 22 May 2015 21:51:53 +0000 (17:51 -0400)
commit1706653b596c273cf425e6758251eb0771bcef28
tree4877cfb93cc665c2faaac69bff5c6f6b2a6f67df
parent05bc3664af51b9b66d829a7632a6020b69876ca8
Fix an issue where the UI state wasn't being updated

This could happen if you pause a print within 500ms from a gcode command
being executed on the serial com. The update was ignored and if we paused
we may never get another callback update so the UI would never get updated.
This could also happen when we just open the UI and we see the temperature
values appear meaning the connection was successful, but it doesn't say
Operational and the Print button is disabled for about 5 seconds (the next
temperature update).
Cura/gui/printWindow.py
Cura/util/printerConnection/serialConnection.py