diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 4c224815..833476e6 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -4573,7 +4573,7 @@ class App(QtCore.QObject): """ self.report_usage("on_jump_to()") - if custom_location is None: + if not custom_location: dia_box = Dialog_box(title=_("Jump to ..."), label=_("Enter the coordinates in format X,Y:"), icon=QtGui.QIcon('share/jump_to16.png')) diff --git a/README.md b/README.md index 4e7e08f4..8b64f1c7 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ CAD program, and create G-Code for Isolation routing. - the project items color is now controlled from Foreground Role in ObjectCollection.data() - made again plot functions threaded but moved the dataChanged signal (update_view() ) to the main thread by using an already existing signal (plots_updated signal) to avoid the errors with register QVector - Enable/Disable Object toggle key ("Space" key) will trigger also the datChanged signal for the Project MVC -- added a new setting for the color of the Porject items, the color when they are disabled. +- added a new setting for the color of the Project items, the color when they are disabled. +- fixed a crash when triggering 'Jump To' menu action (shortcut key 'J' worked ok) 30.04.2019