fix extrude speed buttons with no labels after 593d8c678be
This commit is contained in:
parent
c09e552e3a
commit
33fd5f9576
@ -91,7 +91,7 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
|
|
||||||
speedgrid = Gtk.Grid()
|
speedgrid = Gtk.Grid()
|
||||||
for j, i in enumerate(self.speeds):
|
for j, i in enumerate(self.speeds):
|
||||||
self.labels[f"speed{i}"] = self._gtk.Button(i)
|
self.labels[f"speed{i}"] = self._gtk.Button(label=i)
|
||||||
self.labels[f"speed{i}"].connect("clicked", self.change_speed, int(i))
|
self.labels[f"speed{i}"].connect("clicked", self.change_speed, int(i))
|
||||||
ctx = self.labels[f"speed{i}"].get_style_context()
|
ctx = self.labels[f"speed{i}"].get_style_context()
|
||||||
if ((self._screen.lang_ltr is True and j == 0) or
|
if ((self._screen.lang_ltr is True and j == 0) or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user