add parameter to labels to silence IDE warnings
This commit is contained in:
@@ -25,12 +25,12 @@ class ZCalibratePanel(ScreenPanel):
|
||||
if self.probe:
|
||||
self.z_offset = float(self.probe['z_offset'])
|
||||
logging.info(f"Z offset: {self.z_offset}")
|
||||
self.widgets['zposition'] = Gtk.Label("Z: ?")
|
||||
self.widgets['zposition'] = Gtk.Label(label="Z: ?")
|
||||
|
||||
pos = self._gtk.HomogeneousGrid()
|
||||
pos.attach(self.widgets['zposition'], 0, 1, 2, 1)
|
||||
if self.z_offset is not None:
|
||||
self.widgets['zoffset'] = Gtk.Label("?")
|
||||
self.widgets['zoffset'] = Gtk.Label(label="?")
|
||||
pos.attach(Gtk.Label(_("Probe Offset") + ": "), 0, 2, 2, 1)
|
||||
pos.attach(Gtk.Label(_("Saved")), 0, 3, 1, 1)
|
||||
pos.attach(Gtk.Label(_("New")), 1, 3, 1, 1)
|
||||
|
Reference in New Issue
Block a user