- GCode view now has line numbers

- solved a bug that made selection of objects on canvas impossible if there is an object of type FlatCAMScript or FlatCAMDocument opened
This commit is contained in:
Marius Stanciu
2019-11-22 16:31:40 +02:00
parent 0aff3a6d4c
commit 9fd98b4573
8 changed files with 127 additions and 97 deletions

View File

@@ -4349,7 +4349,7 @@ class FlatCAMGrbEditor(QtCore.QObject):
else:
self.select_tool("select")
except Exception as e:
log.warning("Error: %s" % str(e))
log.warning("FlatCAMGrbEditor.on_grb_click_release() RMB click --> Error: %s" % str(e))
raise
# if the released mouse button was LMB then test if we had a right-to-left selection or a left-to-right
@@ -4367,7 +4367,7 @@ class FlatCAMGrbEditor(QtCore.QObject):
if self.selected:
self.plot_all()
except Exception as e:
log.warning("Error: %s" % str(e))
log.warning("FlatCAMGrbEditor.on_grb_click_release() LMB click --> Error: %s" % str(e))
raise
def draw_selection_area_handler(self, start_pos, end_pos, sel_type):