Merged in marius_stanciu/flatcam_mpl/fix_calls_to_info() (pull request #96)

Fix issue #254
This commit is contained in:
Marius Stanciu
2018-05-30 20:04:27 +00:00
committed by jpcgt
4 changed files with 17 additions and 17 deletions

View File

@@ -693,7 +693,7 @@ class App(QtCore.QObject):
:return: None
"""
if not isinstance(self.collection.get_active(), FlatCAMGeometry):
self.info("Select a Geometry Object to edit.")
self.inform.emit("Select a Geometry Object to edit.")
return
self.ui.updategeo_btn.setEnabled(True)
@@ -708,7 +708,7 @@ class App(QtCore.QObject):
"""
geo = self.collection.get_active()
if not isinstance(geo, FlatCAMGeometry):
self.info("Select a Geometry Object to update.")
self.inform.emit("Select a Geometry Object to update.")
return
self.draw.update_fcgeometry(geo)