- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object

This commit is contained in:
Marius Stanciu
2019-02-07 00:53:51 +02:00
committed by Marius S
parent 1a8db0b5d9
commit 700222d5dc
3 changed files with 7 additions and 1 deletions

View File

@@ -750,7 +750,9 @@ class ToolPaint(FlatCAMTool, Gerber):
overlap=overlap,
connect=connect,
contour=contour)
self.app.plotcanvas.vis_connect('mouse_press', self.app.on_mouse_click_over_plot)
self.app.plotcanvas.vis_disconnect('mouse_press', self.app.on_mouse_click_over_plot)
self.app.plotcanvas.vis_connect('mouse_press', doit)
def paint_poly(self, obj, inside_pt, tooldia, overlap,