- some fixes on the app.jump_to() method

- made sure that the ToolFilm will not start saving a file if there are no objects loaded
This commit is contained in:
Marius Stanciu
2019-12-09 21:53:57 +02:00
committed by Marius
parent 35f518ace5
commit face1d0f64
5 changed files with 23 additions and 6 deletions

View File

@@ -669,6 +669,10 @@ class Film(FlatCAMTool):
_("No FlatCAM object selected. Load an object for Box and retry."))
return
if name == '' or boxname == '':
self.app.inform.emit('[ERROR_NOTCL] %s' % _("No FlatCAM object selected."))
return
scale_stroke_width = float(self.film_scale_stroke_entry.get_value())
source = self.source_punch.get_value()
file_type = self.file_type_radio.get_value()