Commit 5ddea3cc authored by Guillaume Seguin's avatar Guillaume Seguin

Fix typo in printcore.py

parent a8090f92
...@@ -414,7 +414,7 @@ class printcore(): ...@@ -414,7 +414,7 @@ class printcore():
(layer, line) = self.mainqueue.idxs(self.queueindex) (layer, line) = self.mainqueue.idxs(self.queueindex)
gline = self.mainqueue.all_layers[layer].lines[line] gline = self.mainqueue.all_layers[layer].lines[line]
if self.layerchangecb and self.queueindex > 0: if self.layerchangecb and self.queueindex > 0:
(prev_layer, prev_line) = self.mainqueue.idxs(self.queuindex - 1) (prev_layer, prev_line) = self.mainqueue.idxs(self.queueindex - 1)
if prev_layer != layer: if prev_layer != layer:
self.layerchangecb(layer) self.layerchangecb(layer)
tline = gline.raw tline = gline.raw
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment