zcalibrate: fix dialog loop, fix popup errors not showing at end #844
This commit is contained in:
parent
dcb6d18709
commit
a6bb0fd02e
@ -244,7 +244,6 @@ class ZCalibratePanel(ScreenPanel):
|
||||
logging.info(data)
|
||||
elif "save_config" in data:
|
||||
self.buttons_not_calibrating()
|
||||
self._screen.show_popup_message(_("Calibrated, save configuration to make it permanent"), level=1)
|
||||
elif "out of range" in data:
|
||||
self._screen.show_popup_message(data)
|
||||
self.buttons_not_calibrating()
|
||||
|
@ -727,7 +727,7 @@ class KlipperScreen(Gtk.Window):
|
||||
elif "unknown" in data.lower() and \
|
||||
not ("TESTZ" in data or "MEASURE_AXES_NOISE" in data or "ACCELEROMETER_QUERY" in data):
|
||||
self.show_popup_message(data)
|
||||
if "SAVE_CONFIG" in data and self.printer.state == "ready":
|
||||
elif "SAVE_CONFIG" in data and self.printer.state == "ready":
|
||||
script = {"script": "SAVE_CONFIG"}
|
||||
self._confirm_send_action(
|
||||
None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user