diff --git a/CHANGELOG.md b/CHANGELOG.md index ffbf7504..e41cf6df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ CHANGELOG for FlatCAM beta - in Preferences the language names are in the native language - fixed a Qt6 derived issue where dragging tabs outside the app crashed the app - updated the Chinese translation, by 俊霄 余 +- fixed bug in Cutout Plugin that when no object is loaded and the Generate Rectangular Geometry is clicked, the app will hard crash 25.08.2021 diff --git a/appPlugins/ToolCutOut.py b/appPlugins/ToolCutOut.py index f3694d1e..54a571c6 100644 --- a/appPlugins/ToolCutOut.py +++ b/appPlugins/ToolCutOut.py @@ -1132,6 +1132,7 @@ class CutOut(AppTool): if cutout_obj is None: self.app.inform.emit('[ERROR_NOTCL] %s: %s' % (_("Object not found"), str(name))) + return dia = float(self.ui.dia.get_value()) if 0 in {dia}: