job_status: fix save endstop not working fixes #929

This commit is contained in:
alfrix 2023-03-17 07:05:46 -06:00
parent 2d8419ca13
commit b963c55140

View File

@ -394,7 +394,7 @@ class JobStatusPanel(ScreenPanel):
+ "\n\n"
+ _("Saved offset: %s") % saved_z_offset)
elif device == "endstop":
label.set_label(_("Apply %.2f offset to Endstop?") % (sign, abs(self.zoffset)))
label.set_label(_("Apply %s%.2f offset to Endstop?") % (sign, abs(self.zoffset)))
label.set_hexpand(True)
label.set_halign(Gtk.Align.CENTER)
label.set_vexpand(True)