- fixed bug in FlatCAMObj.FlatCAMGeometry.ui_disconnect(); the widgets signals were not disconnected from handlers when required therefore the signals were connected in an exponential way
- some changes in the widgets used in the Selected tab for Geometry object - some PEP8 cleanup in FlatCAMObj.py - updated languages - 60% progress in Spanish Google translation
This commit is contained in:
@@ -175,14 +175,14 @@ class ToolSub(FlatCAMTool):
|
||||
|
||||
try:
|
||||
self.intersect_btn.clicked.disconnect(self.on_grb_intersection_click)
|
||||
except Exception as e:
|
||||
log.debug("ToolSub.__init__() --> %s" % str(e))
|
||||
except TypeError:
|
||||
pass
|
||||
self.intersect_btn.clicked.connect(self.on_grb_intersection_click)
|
||||
|
||||
try:
|
||||
self.intersect_geo_btn.clicked.disconnect()
|
||||
except Exception as e:
|
||||
log.debug("ToolSub.__init__() --> %s" % str(e))
|
||||
except TypeError:
|
||||
pass
|
||||
self.intersect_geo_btn.clicked.connect(self.on_geo_intersection_click)
|
||||
|
||||
def install(self, icon=None, separator=None, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user