- made sure that in Geometry Editor the self.app.mouse attribute is updated with the current mouse position (x, y)

This commit is contained in:
Marius Stanciu
2019-12-16 17:33:58 +02:00
parent b8b6d776e9
commit d256c99385
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
- fixed the Defaults upgrade overwrting the new version number with the old one
- fixed issue with clear_polygon3() - the one who makes 'lines' and fixed the NCC Tool
- some small changes in the FlatCAMGeoemtry.on_tool_add() method
- made sure that in Geometry Editor the self.app.mouse attribute is updated with the current mouse position (x, y)
15.12.2019

View File

@@ -3835,6 +3835,7 @@ class FlatCAMGeoEditor(QtCore.QObject):
self.snap_x = x
self.snap_y = y
self.app.mouse = [x, y]
# update the position label in the infobar since the APP mouse event handlers are disconnected
self.app.ui.position_label.setText("&nbsp;&nbsp;&nbsp;&nbsp;<b>X</b>: %.4f&nbsp;&nbsp; "