Fix crash on startupo when cursor set to "big"

This commit is contained in:
David Robertson
2020-05-03 04:18:40 +01:00
parent 7062afc1af
commit 406faa36c3

View File

@@ -2119,7 +2119,7 @@ class FlatCAMExcEditor(QtCore.QObject):
if self.app.is_legacy is False:
self.shapes = self.app.plotcanvas.new_shape_collection(layers=1)
if self.app.plotcanvas.big_cursor is True:
self.tool_shape = self.app.plotcanvas.new_shape_collection(layers=1, line_width=2)
self.tool_shape = self.app.plotcanvas.new_shape_collection(layers=1)
else:
self.tool_shape = self.app.plotcanvas.new_shape_collection(layers=1)
else: